FireDAC.Comp.Client.TFDCustomConnection.CheckOnline
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp
| |
Unit: FireDAC.Comp.Client | |
Parent: TFDCustomConnection |
Delphi
procedure CheckOnline;
C++
void __fastcall CheckOnline();
Description
Checks to see whether the connection is in online mode.
Call CheckOnline to assert that the connection to a DBMS is in online mode. If the connection is offlined, then if ResourceOptions.AutoConnect is True, then the connection object automatically goes to the online mode, otherwise an exception is raised.