RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ADODB.TConnectOption Enumeration

TConnectOption indicates whether the connection to the ADO data store is synchronous or asynchronous.

Pascal
TConnectOption = (
  coConnectUnspecified,
  coAsyncConnect
);
C++
enum TConnectOption {
  coConnectUnspecified,
  coAsyncConnect
};

TConnectOption is the type of the TADOConnection object's ConnectOptions property. It specifies whether the connection established by the TADOConnection is synchronous or asynchronous. The following table lists the possible values:

Value 
Meaning 
coConnectUnspecified  
The connection is formed synchronously.  
coAsyncConnect  
The connection is formed asynchronously. This is useful if the server is very slow, but the application must be aware that not all data values are necessarily available when the connection is first established.  

 

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