Location: Symbol Reference > Classes > TJwWTSSession Class > Create Constructor > TJwWTSSession.Create Constructor (TJwWTSSessionList, TJwSessionId, TJwString, TWtsConnectStateClass)
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWTSSession.Create Constructor (TJwWTSSessionList, TJwSessionId, TJwString, TWtsConnectStateClass)
Pascal
constructor Create(const Owner: TJwWTSSessionList; const SessionId: TJwSessionId; const WinStationName: TJwString; const ConnectState: TWtsConnectStateClass); overload;
Parameters 
Description 
const Owner: TJwWTSSessionList 
Specifies the TJwTerminalServer instance that owns the session  
const SessionId: TJwSessionId 
The Session Identifier  
const WinStationName: TJwString 
The Session Name  
const ConnectState: TWtsConnectStateClass 
The current connection state of the session 

The Create constructor creates a TJwWTSSession instance and allocates memory for it

It's not necessary to manually create a session instance. Enumerating sessions with the EnumerateSessions function will create a SessionList filled with Sessions.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!