FireDAC.Comp.Client.TFDCustomConnection.CommandCount

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property CommandCount: Integer read GetCommandCount;

C++

__property int CommandCount = {read=GetCommandCount, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomConnection

説明

関連 TFDCustomCommand オブジェクトの数です。


CommandCount プロパティは、この接続オブジェクトに関連付けられている、準備済みの (State <> csInactive)TFDCustomCommand オブジェクト数を返します。

 var
   i: Integer;
 ...
   for i := FDConnection1.CommandCount - 1 downto 0 do
     FDConnection1.Commands[i].Disconnect(True);

関連項目