Table of Contents

Class TerminalServerConnections

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the connections (terminals) configured on a terminal server.

public class TerminalServerConnections : BaseTypeSection
Inheritance
TerminalServerConnections

Constructors

TerminalServerConnections()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.TerminalServerConnections class.

public TerminalServerConnections()

Properties

Items

Gets or sets the items within the collection

public TerminalServerConnectionCollection Items { get; set; }

Property Value

TerminalServerConnectionCollection

Methods

ConnectionExists(string)

Determines if the terminal server connection with the specified name exists in the collection.

public bool ConnectionExists(string Name)

Parameters

Name string

The name of the connection to locate.

Returns

bool

A System.Boolean value that indicates whether a connection with the specified name exists within the collection.

FindByName(string)

Returns the Connection with the specified name, if no connection with the specified name exists, null is returned.

public TerminalServerConnection FindByName(string Name)

Parameters

Name string

The name of the connection to locate.

Returns

TerminalServerConnection

The CENTREL.XIA.Configuration.Types.TerminalServerConnection object with the specified name, or null if no connection with that name is found.

FromXml(string)

Returns the CENTREL.XIA.Configuration.Types.TerminalServerConnections service from the specified XML data.

public static TerminalServerConnections FromXml(string Xml)

Parameters

Xml string

The XML representation of the terminal server connections object.

Returns

TerminalServerConnections

A CENTREL.XIA.Configuration.Types.TerminalServerConnections from the specified XML.