Partager via


Msvm_VirtualizationComponent class

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

The following syntax is simplified Managed Object Format (MOF) code.

Syntax

[Abstract, AMENDMENT]
class Msvm_VirtualizationComponent
{
  string  Name;
  string  CLSID;
  uint32  Context = 1;
  boolean Enabled = True;
};

Members

The Msvm_VirtualizationComponent class has these types of members:

Properties

The Msvm_VirtualizationComponent class has these properties.

CLSID

Data type: string

Access type: Read-only

A GUID that represents the class identifier of the service's COM object.

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 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 always set to True.

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".

Remarks

Access to the Msvm_VirtualizationComponent 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

Profile Registration Classes