Data.SqlExpr.TConnectionState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TConnectionState = (csStateClosed, csStateOpen, csStateConnecting,
csStateExecuting, csStateFetching, csStateDisconnecting);

C++

enum DECLSPEC_DENUM TConnectionState : unsigned char { csStateClosed, csStateOpen, csStateConnecting, csStateExecuting, csStateFetching, csStateDisconnecting };

Properties

Type Visibility Source Unit Parent
enum public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr Data.SqlExpr

Description

TConnectionState describes the state of a TSQLConnection component.

TConnectionState can have any of the following values:



Value Meaning

csStateClosed

The connection is closed. (The Connected property is false)

csStateOpen

The connection is open. (The Connected property is true)

csStateConnecting

The component is establishing a connection but has not completed the process.

csStateExecuting

The component has passed an SQL command to the server and it is currently executing.

csStateFetching

The component is fetching database information from the server.

csStateDisconnecting

The component is terminating a connection but has not completed the process.