FireDAC.Comp.Client.TFDCustomConnection.Commands
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: TFDCustomConnection |
Delphi
property Commands[AIndex: Integer]: TFDCustomCommand read GetCommands;
C++
__property TFDCustomCommand* Commands[int AIndex] = {read=GetCommands};
Description
Returns the associated TFDCustomCommand objects.
The Commands indexed property returns a prepared (State <> csInactive)
TFDCustomCommand object that is associated, by its index, with this connection object.
Example
var
i: Integer;
...
for i := FDConnection1.CommandCount - 1 downto 0 do
FDConnection1.Commands[i].Disconnect(True);