RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSessionList.List Property

Returns a specified session component.

Pascal
property List [const SessionName: string]: TSession;
C++
__property TSession List[AnsiString const SessionName];

Use List to return a pointer to a specific session component managed by the session list. List does not change which session is current. SessionName specifies the session component to return, and must match the SessionName property of an existing session component. If no such session exists, List raises an EDatabaseError exception with a message specifying the invalid session name.

Note: To prevent raising an exception, call the FindSession method instead of using the List property.
 

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