Data.Win.ADODB.TADOConnection.State

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TADOConnection

Delphi

property State: TObjectStates read GetState;

C++

__property TObjectStates State = {read=GetState, nodefault};

Description

Indicates the current state of the ADO connection.

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.

See Also