Bde.DBTables.TDBDataSet.SessionName

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property SessionName: string read FSessionName write SetSessionName;

C++

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

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