FireDAC.Comp.Client.TFDCustomConnection.CheckActive

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomConnection

Delphi

procedure CheckActive;

C++

void __fastcall CheckActive();

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