Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.34 KB

File metadata and controls

36 lines (32 loc) · 1.34 KB
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
ConnectOptionEnum
helpviewer_keywords
ConnectOptionEnum enumeration [ADO]
ms.assetid bff07eeb-dee3-4e4e-9b2d-d56061ea744d
author MightyPen
ms.author genemi

ConnectOptionEnum

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.

ADO/WFC Equivalent

Package: com.ms.wfc.data

Constant
AdoEnums.ConnectOption.ASYNCCONNECT
AdoEnums.ConnectOption.CONNECTUNSPECIFIED

Applies To

Open Method (ADO Connection)