Class VMwareHostCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of VMware hosts.
public class VMwareHostCollection : Collection<VMwareHost>, IList<VMwareHost>, ICollection<VMwareHost>, IList, ICollection, IReadOnlyList<VMwareHost>, IReadOnlyCollection<VMwareHost>, IEnumerable<VMwareHost>, IEnumerable
- Inheritance
-
VMwareHostCollection
- Implements
- Inherited Members
Constructors
VMwareHostCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostCollection class.
public VMwareHostCollection()
Methods
Exists(Guid)
Returns a System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareHost with the specified identifier exists within the collection.
public bool Exists(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareHost to locate.
Returns
- bool
A System.Boolean value that indicates whether a CENTREL.XIA.Configuration.Types.VMwareHost with the specified identifier exists within the collection.
FindByIdentifier(Guid)
Returns the CENTREL.XIA.Configuration.Types.VMwareHost with the specified identifier, or null if no CENTREL.XIA.Configuration.Types.VMwareHost with that identifier is found.
public VMwareHost FindByIdentifier(Guid identifier)
Parameters
identifierGuidThe identifier of the CENTREL.XIA.Configuration.Types.VMwareHost to locate.
Returns
- VMwareHost
The CENTREL.XIA.Configuration.Types.VMwareHost with the specified identifier.
FindByManagedObjectIdentifier(string)
Returns the host system with the specified managed object identifier, or null if no host with that managed object identifier is found.
public VMwareHost FindByManagedObjectIdentifier(string identifier)
Parameters
identifierstringThe managed object identifier of the host to locate - for example "host-29".
Returns
- VMwareHost
The CENTREL.XIA.Configuration.Types.VMwareHost with the specified managed object identifier.
FindByManagedObjectIdentifiers(SerializableStringCollection)
Finds the hosts with the specified managed object identifiers.
public VMwareHostCollection FindByManagedObjectIdentifiers(SerializableStringCollection identifiers)
Parameters
identifiersSerializableStringCollectionA CENTREL.Support.SerializableStringCollection that contains the managed object identifiers of the hosts to find.
Returns
- VMwareHostCollection
The hosts with the specified managed object identifiers.
Sort()
Sorts the values in the collection.
public void Sort()