Table of Contents

Class XenDesktopAdministratorRoleCollection

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

Represents a collection of XenDesktop administrator roles.

public class XenDesktopAdministratorRoleCollection : Collection<XenDesktopAdministratorRole>, IList<XenDesktopAdministratorRole>, ICollection<XenDesktopAdministratorRole>, IList, ICollection, IReadOnlyList<XenDesktopAdministratorRole>, IReadOnlyCollection<XenDesktopAdministratorRole>, IEnumerable<XenDesktopAdministratorRole>, IEnumerable
Inheritance
XenDesktopAdministratorRoleCollection
Implements
Inherited Members

Constructors

XenDesktopAdministratorRoleCollection()

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

public XenDesktopAdministratorRoleCollection()

Methods

FindById(string)

Returns the CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRole with the specified identifier, or null if no role with that identifier is found.

public XenDesktopAdministratorRole FindById(string id)

Parameters

id string

The unique identifier of the role to find.

Returns

XenDesktopAdministratorRole

An CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRole object.

FindByName(string)

Returns the CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRole with the specified name, or null if no role with that name is found.

public XenDesktopAdministratorRole FindByName(string name)

Parameters

name string

The unique name of the role to find.

Returns

XenDesktopAdministratorRole

An CENTREL.XIA.Configuration.Types.XenDesktopAdministratorRole object.

Sort()

Sorts the values in the collection.

public void Sort()

ToString()

Returns the administrator role as a human readable string.

public override string ToString()

Returns

string

The administrator role as a human readable string.