Class VMwareHostPhysicalNics
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of VMware host physical network interface cards.
public class VMwareHostPhysicalNics : GlobalSerializableClassicBase
- Inheritance
-
VMwareHostPhysicalNics
Constructors
VMwareHostPhysicalNics()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNics class.
public VMwareHostPhysicalNics()
Properties
Items
Gets or sets the items in the collection.
public VMwareHostPhysicalNicCollection Items { get; set; }
Property Value
Methods
FindByName(string)
Locates the Physical NIC with the specified device name
public VMwareHostPhysicalNic FindByName(string DeviceName)
Parameters
DeviceName
stringThe name of the physical NIC device to locate. This is case-insensitive
Returns
- VMwareHostPhysicalNic
Returns the VMware Physical NIC with the specified device name if found, otherwise returns null.
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNics class from the specified XML.
public static VMwareHostPhysicalNics FromXml(string Xml)
Parameters
Xml
stringThe XML representation of the object.
Returns
- VMwareHostPhysicalNics
A CENTREL.XIA.Configuration.Types.VMwareHostPhysicalNics class.
ToString()
Returns the physical NICs as a human readable string - for example "10 Physical Network Interfaces".
public override string ToString()
Returns
- string
The physical NICs as a human readable string.