ODBC_SQLDisconnect

4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next

version 2004


ODBC_SQLDisconnect (connectionID) Longint

ParameterTypeDescription
connectionIDLongintConnection ID
Function resultLongintReturns 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

ODBC_SQLConnect.


4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next