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

[AMENDMENT]
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

Qualifiers: ArrayType ("Indexed")

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

If true, this instance is enabled and can be used to complete client requests. This property is inherited from Msvm_VirtualizationComponent and it is always set to True.

HotAdd

Data type: boolean

Access type: Read-only

If TRUE, this instance can be hot-added to a VM. The default is FALSE.

HotRemove

Data type: boolean

Access type: Read-only

If TRUE, this instance can be hot-removed from a VM. 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.

NotChangeable (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 VM. This is the default value.

MultiInstance (2)

MultiInstance is a top level WMI object that can exist multiple times per VM 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 VM. 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

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

Msvm_VirtualizationComponent

Profile Registration Classes