| title |
ConnectOptionEnum | Microsoft Docs |
| ms.prod |
sql |
| ms.prod_service |
connectivity |
| ms.technology |
connectivity |
| ms.custom |
|
| ms.date |
01/19/2017 |
| ms.reviewer |
|
| ms.topic |
conceptual |
| apitype |
COM |
| f1_keywords |
|
| helpviewer_keywords |
ConnectOptionEnum enumeration [ADO] |
|
| ms.assetid |
bff07eeb-dee3-4e4e-9b2d-d56061ea744d |
| author |
MightyPen |
| ms.author |
genemi |
Specifies whether the Open method of a Connection object should return after the connection is established (synchronously) or before (asynchronously).
| Constant |
Value |
Description |
| adAsyncConnect |
16 |
Opens the connection asynchronously. The ConnectComplete event may be used to determine when the connection is available. |
| adConnectUnspecified |
-1 |
Default. Opens the connection synchronously. |
Package: com.ms.wfc.data
| Constant |
| AdoEnums.ConnectOption.ASYNCCONNECT |
| AdoEnums.ConnectOption.CONNECTUNSPECIFIED |
Open Method (ADO Connection)