Class VMwareVirtualSwitches
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of standard VMware virtual switches found within a VMware host system.
public class VMwareVirtualSwitches : BaseTypeSection
- Inheritance
-
VMwareVirtualSwitches
Constructors
VMwareVirtualSwitches()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareVirtualSwitches class.
public VMwareVirtualSwitches()
Properties
Items
Gets or sets the items within the collection.
public VMwareVirtualSwitchCollection Items { get; set; }
Property Value
Methods
FindPortGroupByName(string)
Returns the CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with the specified name, or null if no CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with that name is found.
public VMwareVirtualSwitchPortGroup FindPortGroupByName(string name)
Parameters
name
stringThe name of the CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup to locate.
Returns
- VMwareVirtualSwitchPortGroup
The CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with the specified name.
FindPortGroupByUniqueIdentifier(string)
Returns the CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with the specified unique identifier, or null if no CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with that unique identifier is found.
public VMwareVirtualSwitchPortGroup FindPortGroupByUniqueIdentifier(string uniqueIdentifier)
Parameters
uniqueIdentifier
stringThe unique identifier of the CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup to locate in GUID format.
Returns
- VMwareVirtualSwitchPortGroup
The CENTREL.XIA.Configuration.Types.VMwareVirtualSwitchPortGroup with the specified unique identifier.
ToString()
Returns the virtual switches as a human readable string - for example "10 Virtual Switches".
public override string ToString()
Returns
- string
The virtual switches as a human readable string.