FireDAC.Comp.Client.TFDCustomConnection.CheckOnline

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CheckOnline;

C++

void __fastcall CheckOnline();

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 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.

See Also