RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.SessionName Property

Specifies a unique session name that can be used by database and dataset components to link to this session.

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

Set SessionName to a unique and meaningful name that can be used to link database and dataset components to the session. Database and dataset components each have corresponding SessionName properties that must either match the SessionName property of an active session or that be blank, indicating that they should be associated with the default session, Session.

Note: If the AutoSessionName property is true, an application cannot set SessionName directly.
 

TDatabase 

TDataSet 

SessionName 

SessionName 

AutoSessionName 

Associating a Database Component with a Session 

Connecting to Databases with TDatabase 

Using TQuery 

Using TStoredProc 

Using TTable

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