SQLGetConnectOption
Full Description
swirl
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:

  1. ConnectionHandle.
  2. 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
  3. Value. The current value of the specified attribute.
  4. ValueType. The type of data specified in Value. The following values are allowed:
    • SQL_CHAR
    • SQL_INTEGER

Copyright © OmniMark Technologies Corporation, 1988-1998.