Freigeben über


Msvm_ElementSettingData class

Associates a managed element with its configuration data.

This association is often used to link a virtual computer system and the logical devices that have been assigned to that system with their snapshot configuration information. Current configuration information is associated with a virtual system and its devices through the Msvm_SettingsDefineState association.

The following syntax is simplified from Managed Object Format (MOF) code and 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;
  uint16                 IsCurrent;
  uint16                 IsNext;
};

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 whether the referenced setting is currently being used by the element.

This property is inherited from CIM_ElementSettingData.

Unknown (0)

"Unknown"

Is Current (1)

"Is Current"

Is Not Current (2)

"Is Not Current"

IsDefault

Data type: uint16

Access type: Read-only

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

This property is inherited from CIM_ElementSettingData.

Unknown (0)

"Unknown"

Is Default (1)

"Is Default"

Is Not Default (2)

"Is Not Default"

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.

This property is inherited from CIM_ElementSettingData.

Unknown (0)

Unknown.

Is Next (1)

The setting will be applied to the managed element every time the managed element is reset.

Is Not Next (2)

This setting is no longer used.

Is Next For Single Use (3)

The setting will only be applied to the managed element once, and then this flag will be set to 2 (Is Not Next).

ManagedElement

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Key

The managed element.

This property is inherited from CIM_ElementSettingData.

SettingData

Data type: CIM_SettingData

Access type: Read-only

Qualifiers: Key

The setting data associated with the element.

This property is inherited from CIM_ElementSettingData.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_ElementSettingData

Failover Clustering Hyper-V WMI Provider