FireDAC.Comp.Client.TFDCustomConnection.CommandCount
From RAD Studio API Documentation
Delphi
property CommandCount: Integer read GetCommandCount;
C++
__property int CommandCount = {read=GetCommandCount, nodefault};
Contents
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Description
The number of associated TFDCustomCommand objects.
The CommandCount property returns the number of prepared (State <> csInactive) TFDCustomCommand objects that are associated with this connection object.
Example
var i: Integer; ... for i := FDConnection1.CommandCount - 1 downto 0 do FDConnection1.Commands[i].Disconnect(True);