Table of Contents

Class MicrosoftFailoverClusterResourceCollection

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

Represents a collection of resources in a Microsoft failover cluster.

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

Constructors

MicrosoftFailoverClusterResourceCollection()

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

public MicrosoftFailoverClusterResourceCollection()

Methods

FindByGroup(MicrosoftFailoverClusterGroup)

Returns a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources that belong to the specified group.

public MicrosoftFailoverClusterResourceCollection FindByGroup(MicrosoftFailoverClusterGroup group)

Parameters

group MicrosoftFailoverClusterGroup

The group in which the resources are to be located.

Returns

MicrosoftFailoverClusterResourceCollection

A CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources that belong to the specified group.

FindByGroup(string)

Returns a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources that belong to the group with the specified name.

public MicrosoftFailoverClusterResourceCollection FindByGroup(string groupName)

Parameters

groupName string

The name of the group in which the resources are to be located.

Returns

MicrosoftFailoverClusterResourceCollection

A CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources that belong to the group with the specified name.

FindByIdentifier(Guid)

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

public MicrosoftFailoverClusterResourceBase FindByIdentifier(Guid identifier)

Parameters

identifier Guid

The name of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceBase to locate.

Returns

MicrosoftFailoverClusterResourceBase

The CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceBase with the specified name.

FindByName(string)

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

public MicrosoftFailoverClusterResourceBase FindByName(string name)

Parameters

name string

The name of the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceBase to locate.

Returns

MicrosoftFailoverClusterResourceBase

The CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceBase with the specified name.

FindByTypeName(string)

Returns a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources of the specified type.

public MicrosoftFailoverClusterResourceCollection FindByTypeName(string typeName)

Parameters

typeName string

The type name of the resources that are to be located.

Returns

MicrosoftFailoverClusterResourceCollection

A CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterResourceCollection containing the resources of the specified type.

FindVirtualMachineResources()

Returns a CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterVirtualMachineResourceCollection containing the virtual machine resources in the collection.

public MicrosoftFailoverClusterVirtualMachineResourceCollection FindVirtualMachineResources()

Returns

MicrosoftFailoverClusterVirtualMachineResourceCollection

A CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterVirtualMachineResourceCollection containing the virtual machine resources in the collection.

FindVolumeByPath(string)

Returns the CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterPhysicalDiskResourceVolume with the specified path regardless of the physical disk on which it resides.

public MicrosoftFailoverClusterPhysicalDiskResourceVolume FindVolumeByPath(string path)

Parameters

path string

The path of the physical disk resource volume to locate.

Returns

MicrosoftFailoverClusterPhysicalDiskResourceVolume

The CENTREL.XIA.Configuration.Types.MicrosoftFailoverClusterPhysicalDiskResourceVolume with the specified path regardless of the physical disk on which it resides.

GetSqlInstanceNames()

Gets the SQL instance names from SQL Server resources in the cluster.

public SerializableStringCollection GetSqlInstanceNames()

Returns

SerializableStringCollection

A CENTREL.Support.SerializableStringCollection containing the SQL instance names from SQL Server resources in the cluster.

Sort()

Sorts the values in the collection.

public void Sort()