FireDAC.Comp.Client.TFDCustomConnection.CheckInactive

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 CheckInactive;

C++

void __fastcall CheckInactive();

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.

See Also