Bde.DBTables.TSession.Close

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TSession

Delphi

procedure Close;

C++

void __fastcall Close();

Description

Disconnects from all databases, and closes the session.

Call Close to end a session. Close disconnects from all active databases by freeing temporary database components, and calling the Close methods persistent database components, and then sets its own session handle to nil (Delphi) or NULL (C++).

Note: Setting the Active property to false also closes a session.

See Also