FireDAC.Comp.Client.TFDCustomManager.ConnectionCount

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

property ConnectionCount: Integer read GetConnectionCount;

C++

__property int ConnectionCount = {read=GetConnectionCount, nodefault};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomManager


Beschreibung

Die Anzahl der Verbindungsobjekte.

Die Eigenschaft ConnectionCount gibt die Anzahl der TFDCustomConnection-Objekte in der Anwendung zurück.

Beispiel

// perform some task for all application connection objects
for i := 0 to FDManager.ConnectionCount - 1 do
  FDManager.Connections[i].Ping;

Siehe auch