FireDAC.Comp.Client.TFDCustomConnection.CheckActive

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also