version 2004
ODBC_SQLDisconnect (connectionID) Longint
Parameter | Type | Description | |
connectionID | Longint | Connection ID | |
Function result | Longint | Returns the result of the MS ODBC API function | |
SQLDisconnect |
Description
The ODBC_SQLDisconnect command closes the connection specified by connectID.
connectionID is a valid connection ID returned by ODBC_SQLAllocConnect and a connection must be established using the ODBC_SQLConnect command.
For more information, please see the SQLDisconnect function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqldisconnect.asp.
Function Results
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
See Also