Location: Symbol Reference > Classes > TJwWTSEnumServersThread Class
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwWTSEnumServersThread Class
Pascal
TJwWTSEnumServersThread = class(TJwThread);

TJwWTSEnumServersThread is a Thread that enumerates all Terminal Server in the specified domain. 

The Enumeration is done from a thread because it can take some time to enumerate all server, especially over a slow WAN connection. 

The thread is created by calling the EnumerateServers procedure from a TJwTerminalServer instance. Although allowed you normally don't create a TJwWTSEnumServersThread manually. 

Enumerated servers are returned by firing the OnServerEnumerated Event from the parent TJwTerminalServer instance. 

A TJwWTSEnumServersThread is owned by a TJwTerminalServer instance.

 
Name 
Description 
 
Create create a thread instance.  
 
This is Destroy, a member of class TJwThread. 
TJwWTSEnumServersThread Class
 
Name 
Description 
 
Call Create to create a @classname Thread.  
Name 
Description 
The following tables list the members exposed by TJwThread. 
The methods of the TJwThread class are listed here. 
The properties of the TJwThread class are listed here. 
TJwWTSEnumServersThread Class
Name 
Description 
The following tables list the members exposed by TJwWTSEnumServersThread. 
The methods of the TJwWTSEnumServersThread class are listed here. 
 
Name 
Description 
 
Execute is the main execution procedure of thread. Override it and call it at first. 
 
This is GetReturnValue, a member of class TJwThread. 
 
WaitWithTimeOut waits for the thread to finish or until a timeout occurs.  
TJwWTSEnumServersThread Class
 
Name 
Description 
 
Execute is the main execution procedure of thread. Override it and call it at first. 
 
Name 
Description 
 
Name 
Name sets or gets the threads name. The name is retrieved from internal variable. Changing the thread's name using foreign code does not afect this property. 
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!