Data.SqlExpr.TConnectionState

提供:RAD Studio API Documentation

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット 親
enum public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr Data.SqlExpr

説明

TConnectionState は,TSQLConnection コンポーネントの状態を記述します。

TConnectionState は,以下の値のうちのいずれかをとることができます。



値 意味

csStateClosed

接続は閉じている(Connected プロパティは false)。

csStateOpen

接続は開いている(Connected プロパティは true)。

csStateConnecting

コンポーネントは接続を確立中だが,処理はまだ完了していない。

csStateExecuting

コンポーネントは SQL コマンドをサーバーに渡しており,そのコマンドが現在実行中。

csStateFetching

コンポーネントはサーバーからデータベース情報をフェッチしている。

csStateDisconnecting

コンポーネントは接続を終了中だが,処理はまだ完了していない。