Data.SqlExpr.TSQLConnection.CheckDisconnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

procedure CheckDisconnect; virtual;

C++

virtual void __fastcall CheckDisconnect();

Description

Checks whether it is possible to close the SQL connection, and terminates if so.

The CheckConnection method is used to close the SQL connection. First, CheckConnection checks whether it is possible to close the connection, and then closes it. If there is no active connection or there are active datasets, the CheckConnection method does nothing.

See Also