FireDAC.Comp.Client.TFDCustomConnection.CheckActive
Delphi
procedure CheckActive;
C++
void __fastcall CheckActive();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomConnection |
Description
Checks to see whether the connection is active.
Call CheckActive to assert that the connection to a DBMS is active. If the connection is inactive, then if ResourceOptions.AutoConnect is True, then the connection object automatically connects to the DBMS, otherwise an exception is raised.