Table of Contents

Class XenDesktopZone

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

Represents an individual XenDesktop zone. This applies to XenDesktop 7.7 and above only.

public class XenDesktopZone : GlobalSerializableClassicBase, IComparable<XenDesktopZone>
Inheritance
XenDesktopZone
Implements

Constructors

XenDesktopZone()

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

public XenDesktopZone()

Properties

Description

Gets or sets the description of the zone.

public string Description { get; set; }

Property Value

string

IsPrimary

Gets or sets whether the zone is the primary zone.

public BooleanOption IsPrimary { get; set; }

Property Value

BooleanOption

Name

Gets or sets the name of the zone.

public string Name { get; set; }

Property Value

string

Uid

Gets or sets the unique identifier for the zone in GUID format.

public string Uid { get; set; }

Property Value

string

ZoneItems

Gets or sets the items in the zone.

public XenDesktopZoneItemCollection ZoneItems { get; set; }

Property Value

XenDesktopZoneItemCollection

Methods

CompareTo(XenDesktopZone)

Compares two CENTREL.XIA.Configuration.Types.XenDesktopZone objects to allow sorting alphabetically by name with the primary site first.

public int CompareTo(XenDesktopZone other)

Parameters

other XenDesktopZone

The CENTREL.XIA.Configuration.Types.XenDesktopZone to compare to.

Returns

int

The sort order of the two zones.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.XenDesktopZone class from the specified XML.

public static XenDesktopZone FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

XenDesktopZone

A CENTREL.XIA.Configuration.Types.XenDesktopZone class.