RAD Studio VCL Reference
TADOConnection.State Property

Indicates the current state of the ADO connection.

property State: TObjectStates;
__property TObjectStates State;

Read State at runtime to determine the activity being performed, if any, by the connection at a specific point in time. Activity status includes the command component connecting to a data store, executing a connection, fetching rows for a recordset, sitting idle but open, and sitting idle and closed. 


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