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

TJwTerminalServerList is a List of TJwTerminalServer Objects. 

Each item in the list points to a TJwTerminalServer object that can be queried and manipulated. The list can be filled by adding TJwTerminalServer instances.

var
  ATerminalServerList : TjwTerminalServerList;
  ATerminalServer : TJwTerminalServer;
begin
  ATerminalServerList := TjwTerminalServerList.Create;

  // Create a Terminal Server instance
  ATerminalServer := TJwTerminalServer.Create;

  // and add it to the list
  ATerminalServerList.Add(ATerminalServer);

  // Freeing the TerminalServerList will also free the Terminal Server
  // instances it owns.
  ATerminalServerList.Free;
end;
 
Name 
Description 
 
 
Name 
Description 
The following tables list the members exposed by TJwTerminalServerList. 
The methods of the TJwTerminalServerList class are listed here. 
The properties of the TJwTerminalServerList class are listed here. 
 
Name 
Description 
 
Add 
Add adds a TerminalServer to the end of the TerminalServerList  
 
FindByServer looks up a Terminal Server in the List by Servername  
 
 
 
Insert adds a TerminalServer to the end of the TerminalServerList  
 
Remove removes the specified Terminal Server from the TerminalServerList and if OwnsObjects is true (default) frees the TerminalServer.  
 
Name 
Description 
 
The Items[Index property can be used to access the TerminalServer instances that are held by the list. 
 
A @ClassName can be owned by any component eg a TApplication or TForm 
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!