FireDAC.Comp.Client.TFDCustomConnection.Commands
Delphi
property Commands[AIndex: Integer]: TFDCustomCommand read GetCommands;
C++
__property TFDCustomCommand* Commands[int AIndex] = {read=GetCommands};
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| property | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Description
Renvoie les objets TFDCustomCommand associés.
La propriété indexée Commands renvoie un objet TFDCustomCommand (State <> csInactive) préparé, qui est associé, par son index, à cet objet connexion.
Exemple
var
i: Integer;
...
for i := FDConnection1.CommandCount - 1 downto 0 do
FDConnection1.Commands[i].Disconnect(True);