Class XenDesktopPolicy
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual XenDesktop site policy.
public class XenDesktopPolicy : GlobalSerializableClassicBase, IComparable<XenDesktopPolicy>
- Inheritance
-
XenDesktopPolicy
- Implements
Constructors
XenDesktopPolicy()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopPolicy class.
public XenDesktopPolicy()
Properties
Description
Gets or sets the description of the policy.
public string Description { get; set; }
Property Value
Enabled
Gets or sets whether the policy is enabled.
public BooleanOption Enabled { get; set; }
Property Value
Filters
Gets or sets the filters configured for this policy.
public XenDesktopPolicyFilterCollection Filters { get; set; }
Property Value
MergedPriority
Gets or sets the merged (user and computer) policy priority. This is the value shown in Citrix Studio. This property only applies to XenDesktop 7.6 and above.
public int MergedPriority { get; set; }
Property Value
Name
Gets or sets the name of the policy.
public string Name { get; set; }
Property Value
PolicyType
Gets or sets the type of policy, this is for internal use only as user and computer polices are merged in the user interface.
public XenDesktopPolicyType PolicyType { get; set; }
Property Value
Priority
Gets or sets the priority of the policy. This is ignored by the data comparer as the "MergedPriority" is used instead.
public int Priority { get; set; }
Property Value
Settings
Gets or sets the settings configured within the policy.
public XenDesktopPolicySettingCollection Settings { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.XenDesktopPolicy cloned from this object.
public XenDesktopPolicy Clone()
Returns
- XenDesktopPolicy
A CENTREL.XIA.Configuration.Types.XenDesktopPolicy.
CompareTo(XenDesktopPolicy)
Compares two CENTREL.XIA.Configuration.Types.XenDesktopPolicy objects to allow sorting by the merged priority.
public int CompareTo(XenDesktopPolicy other)
Parameters
other
XenDesktopPolicyThe CENTREL.XIA.Configuration.Types.XenDesktopPolicy to compare to.
Returns
- int
The sort order of the two policies.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.XenDesktopPolicy class from the specified XML.
public static XenDesktopPolicy FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- XenDesktopPolicy
A CENTREL.XIA.Configuration.Types.XenDesktopPolicy class.
ToString()
Returns the name of the policy.
public override string ToString()
Returns
- string
The name of the policy.