FireDAC.Comp.Client.TFDCustomConnection.CheckInactive
Delphi
procedure CheckInactive;
C++
void __fastcall CheckInactive();
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 inactive.
Call CheckInactive to assert that the connection to a DBMS is inactive. If the connection is active, then if ResourceOptions.AutoConnect is True, then the connection object automatically disconnects from the DBMS, otherwise an exception is raised.