RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBDataSet.SessionName Property

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

Pascal
property SessionName: string;
C++
__property AnsiString SessionName;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!