Disconnect Method
Disconnects the last successfully made connection.
Syntax
[VB.NET] Public Sub Disconnect()
[C#] public void Disconnect();
Remarks
This method disconnects the last successfully made connection or the current one if the call is made within a ConnectedEntry event.