大网数据广告活动
Hyper-V与虚拟化

Msvm_ElementSettingData class

· 52CE 我爱测

Associates a managed element with its configuration data.

Associates a managed element with its configuration data. Some of the more notable applications of this association are its use in linking a virtual machine and the logical devices that have been assigned to that system with their snapshot configuration information. Current configuration information is associated with the virtual machine and its devices through the Msvm_SettingsDefineState association.

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

Syntax

[Association, Aggregation, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_ElementSettingData : CIM_ElementSettingData
{
  CIM_ManagedElement REF ManagedElement;
  CIM_SettingData    REF SettingData;
  uint16                 IsDefault = 0;
  uint16                 IsCurrent = 0;
  uint16                 IsNext = 0;
};

Members

The Msvm_ElementSettingData class has these types of members:

Properties

The Msvm_ElementSettingData class has these properties.

IsCurrent

Data type: uint16

Access type: Read-only

Indicates that the referenced setting is currently being used in the operation of the element or that this information is unknown. This property is inherited from CIM_ElementSettingData. The default value is 0 (Unknown).

Unknown (0)

Is Current (1)

Is Not Current (2)

IsDefault

Data type: uint16

Access type: Read-only

Indicates that the referenced setting is a default setting for the element or that this information is unknown. This property is inherited from CIM_ElementSettingData. The default value is 0 (Unknown).

Unknown (0)

Is Default (1)

Is Not Default (2)

IsNext

Data type: uint16

Access type: Read-only

Indicates whether the referenced setting is the next setting to be applied. This property is inherited from CIM_ElementSettingData. The default value is 0 (Unknown).

Unknown (0)

Is Next (1)

Is Not Next (2)

Is Next For Single Use (3)

ManagedElement

Data type: CIM_ManagedElement

Access type: Read-only

Reference to the virtual machine or virtual device. This property is inherited from CIM_ElementSettingData.

SettingData

Data type: CIM_SettingData

Access type: Read-only

Reference to the snapshotted settings for the virtual machine or virtual device. This property is inherited from CIM_ElementSettingData.

Remarks

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

Examples

See Querying Networking Objects.

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

See also

CIM_ElementSettingData

CIM_ElementSettingData

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。