Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Msvm_PreviousSettingData class

Hyper-V

An association between a virtual system and the setting data of the snapshot that is the parent to the virtual system.

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

Syntax

class Msvm_PreviousSettingData : CIM_ElementSettingData
{
  Msvm_ComputerSystem           REF ManagedElement;
  Msvm_VirtualSystemSettingData REF SettingData;
  uint16                            IsDefault;
  uint16                            IsCurrent;
  uint16                            IsNext;
  uint16                            IsMinimum = 0;
  uint16                            IsMaximum = 0;
};

Members

The Msvm_PreviousSettingData class has these types of members:

Properties

The Msvm_PreviousSettingData class has these properties.

IsCurrent
Data type: uint16
Access type: Read-only

Indicates whether the referenced setting is currently used in the operation of the element or that this information is unknown. For a given managed element and all instances of a setting data subclass, there shall be at most one instance that references the managed element and an instance of the setting data subclass where there is a specified non-null, non-key property, and the IsMaximum property on the referencing element setting data instance has a value of 2 (Is Maximum) or the IsMinimum property on the referencing element setting data instance has a value of 2 (Is Minimum) and the IsCurrent property on the referencing element setting data instance has a value of 1 (Is Current).

There shall be at most one instance of element setting data that references a managed element and an instance of a setting data subclass where the IsCurrent property has a value of 1 (Is Current) and the IsMinimum property does not have a value of 2 (Is Minimum) and the IsMaximum property does not have a value of 2 (Is Maximum). This property is inherited from CIM_ElementSettingData.

Unknown (0)
Is Current (1)
Is Not Current (2)
IsDefault
Data type: uint16
Access type: Read-only

Indicates whether the referenced setting is a default setting for the element or that this information is unknown. This property is inherited from CIM_ElementSettingData.

Unknown (0)
Is Default (1)
Is Not Default (2)
IsMaximum
Data type: uint16
Access type: Read-only

This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated setting data instance. All other properties of the associated setting data instance are not affected by this property. Note: It is assumed that the semantics of each property of this set are designed to be compared mathematically. When IsMaximum= 2 (Is Maximum), this property indicates whether the affected property values specified in the associated setting data instance shall define maximum setting values. When IsMaximum= 3 (Is Not Maximum), this property indicates whether the affected property values specified in the associated setting data instance shall not define maximum setting values. When IsMaximum= 0 (Unknown), this property indicates whether the affected property values specified in the associated setting data instance may correspond to maximum setting values. When IsMaximum= 1 (Not Applicable), this property indicates whether the affected property values specified in the associated setting data instance shall not be interpreted with respect to whether each defines a maximum. This property is inherited from CIM_ElementSettingData.

Unknown (0)
Not Applicable (1)
Is Maximum (2)
Is Not Maximum (3)
IsMinimum
Data type: uint16
Access type: Read-only

This property affects the interpretation of all non-null, non-enumerated, non-binary, numeric, non-key properties of the associated setting data instance. All other properties of the associated setting data instance are not affected by this property. Be aware that it is assumed that the semantics of each property of this set are designed to be compared mathematically. When IsMinimum = 2 (Is Minimum), this property indicates whether the affected property values specified in the associated setting data instance shall define minimum setting values. When IsMinimum = 3 (Is Not Minimum), this property indicates whether the affected property values specified in the associated setting data instance shall not define minimum setting values. When IsMinimum = 0 (Unknown), this property indicates whether the affected property values specified in the associated setting data instance may correspond to minimum setting values. When IsMinimum = 1 (Not Applicable), this property indicates whether the affected property values specified in the associated setting data instance shall not be interpreted with respect to whether each defines a minimum. This property is inherited from CIM_ElementSettingData.

Unknown (0)
Not Applicable (1)
Is Minimum (2)
Is Not Minimum (3)
IsNext
Data type: uint16
Access type: Read-only

Indicates whether the referenced setting is the next setting to be applied. For example, the application could occur on a reinitialization, reset, or 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.

If this flag is specified (that is, set to a value other than 0 - Unknown), then this takes precedence over any setting data that may have been specified as default. For example: If the managed element is a computer system, and the value of this flag is 1 (Is Next), then the setting will be effective next time the system resets. Unless this flag is changed, it will persist for subsequent system resets. However, if this flag is set to 3 (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). In the preceding example, if the system restarts in a quick succession, the setting will not be used at the second restart.

This property is inherited from CIM_ElementSettingData.

Unknown (0)
Is Next (1)
Is Not Next (2)
Is Next For Single Use (3)
ManagedElement
Data type: Msvm_ComputerSystem
Access type: Read-only

The computer system that is the target of the application. This property is inherited from CIM_ElementSettingData.

SettingData
Data type: Msvm_VirtualSystemSettingData
Access type: Read-only

The snapshot setting data that is the parent of this computer system. This property is inherited from CIM_ElementSettingData.

Remarks

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

End of client support

None supported

End of server support

Windows Server 2012

Namespace

Root\Virtualization

MOF

WindowsVirtualization.mof

See also

CIM_ElementSettingData
Virtual System Classes

 

 

Community Additions

ADD
Show:
© 2015 Microsoft