Data.SqlExpr.TSQLConnection.CheckDisconnect
Delphi
procedure CheckDisconnect; virtual;
C++
virtual void __fastcall CheckDisconnect();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLConnection |
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.