Describes the capabilities of the associated Msvm_ComputerSystem.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_VirtualSystemCapabilities : CIM_EnabledLogicalElementCapabilities
{
string InstanceID;
string Caption = "Hyper-V Virtual System Capabilities";
string Description = "Defines Virtual System Capabilities";
string ElementName = "Hyper-V Virtual System Capabilities";
boolean ElementNameEditSupported = True;
unit16 MaxElementNameLen = 100;
unit16 RequestedStatesSupported[];
string ElementNameMask;
};
Members
The Msvm_VirtualSystemCapabilities class has these types of members:
Properties
The Msvm_VirtualSystemCapabilities class has these properties.
Caption
Data type: string
Access type: Read-only
A short description of the object. This property is inherited from CIM_ManagedElement.
Description
Data type: string
Access type: Read-only
A description of the object. This property is inherited from CIM_ManagedElement.
ElementName
Data type: string
Access type: Read-only
A display name for the object. This property is inherited from CIM_ManagedElement.
ElementNameEditSupported
Data type: boolean
Access type: Read-only
Indicates whether the ElementName property can be modified. This property is inherited from CIM_EnabledLogicalElementCapabilities.
ElementNameMask
Data type: string
Access type: Read-only
Specifies the restrictions on ElementName, expressed as a regular expression. This property is inherited from CIM_EnabledLogicalElementCapabilities.
InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key
Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.
MaxElementNameLen
Data type: unit16
Access type: Read-only
Qualifiers: MaxValue (256)
Specifies the maximum supported length of the ElementName property. This property is inherited from CIM_EnabledLogicalElementCapabilities.
RequestedStatesSupported
Data type: unit16 array
Access type: Read-only
Indicates the possible states that can be requested when using the RequestStateChange method on the enabled logical element. This property is inherited from CIM_EnabledLogicalElementCapabilities.
| Value | Meaning |
|---|---|
| 2 | Enabled |
| 3 | Disables |
| 4 | Shut Down |
| 6 | Offline |
| 7 | Test |
| 8 | Defer |
| 9 | Quiesce |
| 10 | Reboot |
| 11 | Reset |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Namespace | Root\Virtualization\V2 |
| MOF | WindowsVirtualization.V2.mof |
| DLL | Vmms.exe |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
