Msvm_ElementSettingData class

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

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

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

See also

CIM_ElementSettingData
Virtual System Management Classes

 

 

Community Additions

ADD
Show: