Class XenDesktopScopeReference
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop scope reference.
public class XenDesktopScopeReference : GlobalSerializableClassicBase, IComparable<XenDesktopScopeReference>
- Inheritance
-
XenDesktopScopeReference
- Implements
Constructors
XenDesktopScopeReference()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopScopeReference class.
public XenDesktopScopeReference()
Properties
Name
Gets or sets the name of the referenced scope.
public string Name { get; set; }
Property Value
ScopeId
Gets or sets the unique identifier of the referenced scope in GUID format - for example "7bdeec68-bf46-45e4-bd3d-052b88b4a7ed".
public string ScopeId { get; set; }
Property Value
Methods
CompareTo(XenDesktopScopeReference)
Compares two CENTREL.XIA.Configuration.Types.XenDesktopScopeReference objects to allow sorting alphabetically by name.
public int CompareTo(XenDesktopScopeReference other)
Parameters
other
XenDesktopScopeReferenceThe CENTREL.XIA.Configuration.Types.XenDesktopScopeReference object to compare to.
Returns
- int
The sort order of the two items.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopScopeReference class from the specified XML.
public static XenDesktopScopeReference FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopScopeReference
A CENTREL.XIA.Configuration.Types.XenDesktopScopeReference class.
ToString()
Returns the name of the referenced scope.
public override string ToString()
Returns
- string
The name of the referenced scope.