Bde.DBTables.TDatabase.Session

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TDatabase

Delphi

property Session: TSession read FSession;

C++

__property TSession* Session = {read=FSession};

Description

Points to the session component with which this database component is associated.

Use Session to determine the session component that controls the database component. By default, a database component is associated with the default session component, Session, that is automatically created for all database applications. To assign a database component to a different session in a multi-threaded application, specify the name of a different session component in the SessionName property.

See Also