Class XenDesktopMachines
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the XenDesktop machines providing the services within the site.
public class XenDesktopMachines : BypassSection
- Inheritance
-
XenDesktopMachines
- Inherited Members
Constructors
XenDesktopMachines()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopMachines class.
public XenDesktopMachines()
Properties
Items
Gets or sets the items in the collection.
public XenDesktopMachineCollection Items { get; set; }
Property Value
Methods
FindByDnsName(string)
Returns the machine with the specified DNS name, or null if no machine with that name exists within the collection.
public XenDesktopMachine FindByDnsName(string dnsName)
Parameters
dnsName
stringThe DNS name of the machine to locate - for example "demo-pc01.demonstration.int".
Returns
- XenDesktopMachine
The CENTREL.XIA.Configuration.Types.XenDesktopMachine with the specified DNS name.
FindByMachineCatalogUuid(string)
Returns the machines within the machine catalog with the specified UUID.
public XenDesktopMachineCollection FindByMachineCatalogUuid(string uuid)
Parameters
uuid
stringThe universally unique identifier of the machine catalog in which to locate machines in GUID format.
Returns
- XenDesktopMachineCollection
A CENTREL.XIA.Configuration.Types.XenDesktopMachineCollection containing the machines in the specified machine catalog.
FindByMachineName(string)
Returns the machine with the specified machine name, or null if no machine with that name exists within the collection.
public XenDesktopMachine FindByMachineName(string name)
Parameters
name
stringThe machine name of the machine to locate in NetBIOS format - for example "DEMONSTRATION\demo-pc01".
Returns
- XenDesktopMachine
The CENTREL.XIA.Configuration.Types.XenDesktopMachine with the specified NetBIOS name.
FindByUid(int)
Returns the machine with the specified UID, or null if no machine with that UID exists within the collection.
public XenDesktopMachine FindByUid(int uid)
Parameters
uid
intThe unique identifier of the machine to locate.
Returns
- XenDesktopMachine
The CENTREL.XIA.Configuration.Types.XenDesktopMachine with the specified UID.
FindByUuid(string)
Returns the machine with the specified UUID, or null if no machine with that UUID exists within the collection.
public XenDesktopMachine FindByUuid(string uuid)
Parameters
uuid
stringThe universally unique identifier of the machine to locate in GUID format.
Returns
- XenDesktopMachine
The CENTREL.XIA.Configuration.Types.XenDesktopMachine with the specified UUID.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopMachines class from the specified XML.
public static XenDesktopMachines FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopMachines
A CENTREL.XIA.Configuration.Types.XenDesktopMachines class.
ToString()
Returns the XenDesktop machines as a human readable string.
public override string ToString()
Returns
- string
The XenDesktop machines as a human readable string.