Disconnects an active connection with the company database.
| Visual Basic |
|---|
Public Sub Disconnect() |
Use this method to disconnect the channel between the database and the client.
Before disconnecting from the company database, you can use the Connected property to check whether or not the connection is active.