RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.ConnectOptions Property

Specifies whether a connection is synchronous or asynchronous.

Pascal
property ConnectOptions: TConnectOption;
C++
__property TConnectOption ConnectOptions;

Set ConnectOptions to specify whether the connection established by the TADOConnection is synchronous or asynchronous. The default value for ConnectOptions is coConnectUnspecified. 

An application will typically use the default of a synchronous connection (coConnectUnspecified). Typically an asynchronous is only really needed to compensate for a slow server. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!