CloseConnection Method
Closes a connection to the SAP system.
Syntax
[VB.NET] Public Sub CloseConnection()
[C#] public void CloseConnection();
Remarks
This method disconnects from the current connection to the SAP system. This method should be used for a normal disconnection. If you wish to terminate the connection because of an error, use the AbortConnection method instead.