Closes the connection.
procedure Disconnect;
Call Disconnect to close the database connection.
Calling Disconnect generates a BeforeDisconnect event, drops the connection, sets the Connected property to False, and generates an AfterDisconnect event.