Bde.DBTables.TDBDataSet.SessionName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SessionName: string read FSessionName write SetSessionName;

C++

__property System::UnicodeString SessionName = {read=FSessionName, write=SetSessionName};

Properties

Type Visibility Source Unit Parent
property published
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDBDataSet

Description

Identifies the name of the session with which this dataset is associated.

Use SessionName to determine the session with which a dataset component is associated. SessionName is automatically set to the name of the SessionName property of the database component with which a dataset component is associated. If SessionName is blank, a dataset component is automatically associated with the default session, Session.

To associate a dataset component with a different session, SessionName must match the SessionName property of an existing session component that is also used by the database component with which this dataset is associated.

See Also