Class VMwareDataCenterCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of datacenters found within a VMware system.
public class VMwareDataCenterCollection : Collection<VMwareDataCenter>, IList<VMwareDataCenter>, ICollection<VMwareDataCenter>, IList, ICollection, IReadOnlyList<VMwareDataCenter>, IReadOnlyCollection<VMwareDataCenter>, IEnumerable<VMwareDataCenter>, IEnumerable
- Inheritance
-
VMwareDataCenterCollection
- Implements
- Inherited Members
Constructors
VMwareDataCenterCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareDataCenterCollection class.
public VMwareDataCenterCollection()
Methods
Exists(Guid)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareDataCenter with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareDataCenter to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareDataCenter with the specified identifier exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.VMwareDataCenter with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.VMwareDataCenter with that identifier is found.
public VMwareDataCenter FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareDataCenter to locate.
Returns
- VMwareDataCenter
The CENTREL.XIA.Configuration.Types.VMwareDataCenter with the specified identifier.
FindByManagedObjectIdentifier(string)
Returns the data center with the specified managed object identifier, or null if no data center with that identifier is found.
public VMwareDataCenter FindByManagedObjectIdentifier(string managedObjectIdentifier)
Parameters
managedObjectIdentifierstringThe managed object ID of the data center to locate - for example "datacenter-29".
Returns
- VMwareDataCenter
The CENTREL.XIA.Configuration.Types.VMwareDataCenter object with the specified managed object ID.
Sort()
Sorts the values in the collection.
public void Sort()