Show: Delphi
C++
Display Preferences
Bde.DBTables.TSession.Close
From XE2 API Documentation
Delphi
procedure Close;
C++
void __fastcall Close(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TSession |
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.