FireDAC.Comp.Client.TFDCustomConnection.CommandCount
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: TFDCustomConnection |
Delphi
property CommandCount: Integer read GetCommandCount;
C++
__property int CommandCount = {read=GetCommandCount, nodefault};
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);