API Reference
Class
HyperVHostInfo
Native Hyper-V host inventory gathered from the Hyper-V WMI v2 provider.
Inheritance
- Object
- HyperVHostInfo
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
- Method HyperVHostQuery.Get
- Method HyperVHostQuery.GetAsync
- Property HyperVInventoryInfo.Host
Constructors
public HyperVHostInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Nullable<Int32> EnabledState { get; set; } #Display(Order = 5)Numeric enabled-state value reported by Msvm_ComputerSystem.
public Nullable<Int32> HealthState { get; set; } #Display(Order = 7)Numeric health-state value reported by Msvm_ComputerSystem.
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 Int32 VirtualMachineCount { get; set; } #Display(Order = 11)Number of virtual machine computer-system instances visible on this host.
public String DataSource { get; set; } #Display(Order = 12)Data source used to populate this object.
public String Warning { get; set; } #Display(Order = 13)Optional warning when Hyper-V WMI is missing or incomplete.