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

CIM_ElementSettingData class

· 52CE 我爱测

Represents an association between a managed element and its associated setting data. This association also describes whether this is a default or current setting.

Represents an association between a managed element and its associated setting data. This association also describes whether this is a default or current setting.

Syntax

[Association, Abstract, Version("2.19.1"), UMLPackagePath("CIM::Core::Settings"), AMENDMENT]
class CIM_ElementSettingData
{
  CIM_ManagedElement REF ManagedElement;
  CIM_SettingData    REF SettingData;
  uint16                 IsDefault;
  uint16                 IsCurrent;
  uint16                 IsNext;
};

Members

The CIM_ElementSettingData class has these types of members:

Properties

The CIM_ElementSettingData class has these properties.

IsCurrent

Data type: uint16

Access type: Read-only

Indicates whether the referenced setting is currently being used by the element.

Unknown (0)

Is Current (1)

Is Not Current (2)

IsDefault

Data type: uint16

Access type: Read-only

Indicating whether the setting is a default setting for the element.

Unknown (0)

Is Default (1)

Is Not Default (2)

IsNext

Data type: uint16

Access type: Read-only

A flag that indicates when and how often to apply the setting.

For example, the setting could be applied on a re-initialization, reset, reconfiguration request. This could be a permanent setting, or a setting used only one time, as indicated by the flag. If it is a permanent setting then the setting is applied every time the managed element reinitializes, until this flag is manually reset. However, if it is single use, then the flag is automatically cleared after the settings are applied. In addition, if this flag is set to value other than 0 (Unknown), then this takes precedence over a SettingData property that is set to "Default".

If the managed element is a computer system, and the value of this flag is "Is Next", then the setting will be effective next time the system resets. And, unless this flag is changed, it will persist for subsequent system resets. However, if this flag is set to "Is Next For Single Use", then this setting will only be used once and the flag would be reset after that to 2 (Is Not Next). So, in the above example, if the system reboots in a quick succession, the setting will not be used at the second reboot.

Unknown (0)

Is Next (1)

Is Not Next (2)

Is Next For Single Use (3)

ManagedElement

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Key

The managed element.

SettingData

Data type: CIM_SettingData

Access type: Read-only

Qualifiers: Key

The setting data associated with the element.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
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.

资料来源与适用范围

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

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

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