TConnectOption indicates whether the connection to the ADO data store is synchronous or asynchronous.
TConnectOption = ( coConnectUnspecified, coAsyncConnect );
enum TConnectOption { coConnectUnspecified, coAsyncConnect };
ADODB
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. |
TADOConnection
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|