Syntax
define external counter function SQLGetConnectOption
( read-only SQL_handle_type ConnectionHandle,
value counter Option,
read-only SQL_vector_type Value,
value counter ValueType )
Purpose
Returns the current setting of a connection option. This function has been superseded by SQLGetConnectAttr in ODBC 3.0.
Input arguments:
- ConnectionHandle.
- Option. The option to retrieve. The following values are allowed:
- SQL_ACCESS_MODE
- SQL_AUTOCOMMIT
- SQL_LOGIN_TIMEOUT
- SQL_OPT_TRACE
- SQL_OPT_TRACEFILE
- SQL_TRANSLATE_DLL
- SQL_TRANSLATE_OPTION
- SQL_TXN_ISOLATION
- SQL_CURRENT_QUALIFIER
- SQL_ODBC_CURSORS
- SQL_QUIET_MODE
- SQL_PACKET_SIZE
- Value. The current value of the specified attribute.
- ValueType. The type of data specified in Value. The following values are allowed:
|