TestimoX

API Reference

Class

HyperVSwitchInfo

Namespace ComputerX.HyperV
Assembly ComputerX
Modifiers sealed

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.

Constructors

Properties

public String ComputerName { get; set; } #
Display(Order = 0)

Target computer that was queried.

public String Id { get; set; } #
Display(Order = 1)

WMI identity of the virtual switch.

public String Name { get; set; } #
Display(Order = 2)

Friendly virtual switch name.

public String Caption { get; set; } #
Display(Order = 3)

WMI caption for the virtual switch object.

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 String EnabledStateName { get; set; } #
Display(Order = 6)

Friendly enabled-state value.

public Nullable<Int32> HealthState { get; set; } #
Display(Order = 7)

Numeric health-state value reported by WMI.

public String HealthStateName { get; set; } #
Display(Order = 8)

Friendly health-state value.

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.