API Reference
Class
HyperVSwitchInfo
Native Hyper-V virtual switch inventory gathered from the Hyper-V WMI v2 provider.
Inheritance
- Object
- HyperVSwitchInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HyperVInventoryInfo.Switches
- Method HyperVSwitchQuery.Get
- Method HyperVSwitchQuery.GetAsync
Constructors
public HyperVSwitchInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Description { get; set; } #Display(Order = 4)WMI description for the virtual switch object.
public Nullable<Int32> EnabledState { get; set; } #Display(Order = 5)Numeric enabled-state value reported by WMI, when present.
public Nullable<Int32> HealthState { get; set; } #Display(Order = 7)Numeric health-state value reported by WMI.
public IReadOnlyList<Int32> OperationalStatus { get; set; } #Display(Order = 9)Operational status codes reported by WMI.
public IReadOnlyList<String> StatusDescriptions { get; set; } #Display(Order = 10)Operational status descriptions reported by WMI.
public String DataSource { get; set; } #Display(Order = 11)Data source used to populate this object.