ConnectOptionEnum

Applies to: Access 2013, Office 2013

Specifies whether the Open method of a Connection object should return after (synchronously) or before (asynchronously) the connection is established.

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