RAD Studio VCL Reference
TADOConnection.ConnectOptions Property

Specifies whether a connection is synchronous or asynchronous.

property ConnectOptions: TConnectOption;
__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!