Language Reference Guide : System Classes : DBSessionObject Class : Disconnect Method
 
Share this page          
Disconnect Method
The Disconnect method closes a database connection.
This method has the following syntax:
integer = DBSessionObject.Disconnect()
This method closes any open cursors and commits any pending updates.
This method returns ER_OK if it is successful. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.