Msvm_VirtualSystemResourceComponent class

Represents a virtual device service of the Microsoft Windows Hyper-V platform.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

class Msvm_VirtualSystemResourceComponent : Msvm_VirtualizationComponent
{
  string  Name;
  string  CLSID;
  uint32  Context = 1;
  boolean Enabled = True;
  string  AdditionalClassNames[];
  uint16  Type = 1;
  boolean HotAdd = False;
  boolean HotRemove = False;
};

Members

The Msvm_VirtualSystemResourceComponent class has these types of members:

Properties

The Msvm_VirtualSystemResourceComponent class has these properties.

AdditionalClassNames

Data type: string array

Access type: Read-only

An array of strings containing additional non-association classes surfaced by this Msvm_VirtualSystemResourceComponent instance. These classes must derive from neither CIM_LogicalDevice nor CIM_ResourceAllocationSettingData.

CLSID

Data type: string

Access type: Read-only

A GUID that represents the class identifier of the service's COM object. This property is inherited from Msvm_VirtualizationComponent.

Context

Data type: uint32

Access type: Read-only

The context in which the newly created object will run. This value is passed in the dwClsContext parameter to CoCreateInstance. This property is inherited from Msvm_VirtualizationComponent, and it is always set to 1.

Enabled

Data type: boolean

Access type: Read-only

True if this instance is enabled and can be used to complete client requests; otherwise, False. This property is inherited from Msvm_VirtualizationComponent, and it is always set to True.

HotAdd

Data type: boolean

Access type: Read-only

True if this instance can be hot-added to a virtual machine; otherwise, False. The default is False.

HotRemove

Data type: boolean

Access type: Read-only

True if this instance can be hot-removed from a virtual machine; otherwise, False. The default is False.

Name

Data type: string

Access type: Read-only

Qualifiers: Key

A language-neutral string that uniquely identifies the service. The following format is suggested to prevent naming conflicts: "vendor|component|version". For example, this name represents version 1.0 of the Microsoft Emulated Network Port Component: "Microsoft|EmulatedNetworkPortComponent|V1.0". This property is inherited from Msvm_VirtualizationComponent.

Type

Data type: uint16

Access type: Read-only

The relationship of the WMI object that is described here with the virtual device.

Value Meaning
"Not Changeable"
0
"Singleton"
1
Singleton is a top level WMI object that is tied 1:1 with a Virtual Device and can only exist once per virtual machine. This is the default value.
"MultiInstance"
2
MultiInstance is a top level WMI object that can exist multiple times per virtual machine and is tied 1:1 with a Virtual Device.
"Subdevice"
3
Subdevice is a WMI object that has not parent reference but is controlled by only one Virtual Device that can exist only once per virtual machine. The WMI object though can exist multiples times.

Remarks

Access to the Msvm_VirtualSystemResourceComponent class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
End of client support
Windows 8.1
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe

See also

Msvm_VirtualizationComponent

Msvm_VirtualizationComponent