Associates a virtual machine and its devices with instances of CIM_SettingData that represent the current settings that apply to these objects. More specifically, it associates Msvm_ComputerSystem with instances of Msvm_VirtualSystemSettingData, and it associates Msvm_* derivatives of CIM_LogicalDevice with Msvm_* derivatives of CIM_ResourceAllocationSettingData.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Association, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider")]
class Msvm_SettingsDefineState : CIM_SettingsDefineState
{
Msvm_ComputerSystem REF ManagedElement;
Msvm_VirtualSystemSettingData REF SettingData;
};
Members
The Msvm_SettingsDefineState class has these types of members:
Properties
The Msvm_SettingsDefineState class has these properties.
ManagedElement
Data type: Msvm_ComputerSystem
Access type: Read-only
A reference to the virtual machine.
SettingData
Data type: Msvm_VirtualSystemSettingData
Access type: Read-only
A reference to the currently active settings for the virtual machine.
Remarks
Access to the Msvm_SettingsDefineState class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Namespace | Root\Virtualization\V2 |
| MOF | WindowsVirtualization.V2.mof |
| DLL | Vmms.exe |
See also
Virtual System Management Classes
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.
