| title | SQLGetConnectOption Function | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | dllExport | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 59cde899-7957-4b5e-8677-f34d3b859bfd | |
| author | MightyPen | |
| ms.author | genemi | |
| manager | craigg |
Conformance
Version Introduced: ODBC 1.0 Standards Compliance: Deprecated
Summary
In ODBC 3*.x*, the ODBC 2*.x* function SQLGetConnectOption has been replaced by SQLGetConnectAttr. For more information, see SQLGetConnectAttr.
Note
For more information about what the Driver Manager maps this function to when an ODBC 2*.x* application is working with an ODBC 3*.x* driver, see Mapping Deprecated Functions in Appendix G: Driver Guidelines for Backward Compatibility.
Note
The attribute SQL_ASYNC_DBC_FUNCTION_ENABLE introduced in ODBC 3.8 is not supported by SQLGetConnectOption. Applications that use the asynchronous operation on a connection handle must use SQLGetConnectAttr.