RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase.Session Property

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

Pascal
property Session: TSession;
C++
__property TSession Session;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!