Win32_PowerSettingElementSettingDataIndex class

Represents the association between the power setting and the corresponding setting data. An instance of Win32_PowerSettingElementSettingDataIndex is created for each power setting value. The IsACSetting property determines whether the setting is the AC or DC value.

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

Syntax

[Provider("PowerWmiProvider"), Dynamic]
class Win32_PowerSettingElementSettingDataIndex : CIM_ElementSettingData
{
  Win32_PowerSetting          REF ManagedElement;
  Win32_PowerSettingDataIndex REF SettingData;
  uint16                          IsACSetting;
  uint16                          IsCurrent;
};

Members

The Win32_PowerSettingElementSettingDataIndex class has these types of members:

  • Properties

Properties

The Win32_PowerSettingElementSettingDataIndex class has these properties.

IsACSetting

Data type: uint16

Access type: Read/write

Indicates whether the referenced setting is used when the system is running on AC power. For a given ManagedElement and all instances of a SettingData subclass, there must be at most one instance of ElementSettingData that references the ManagedElement and an instance of the SettingData subclass where there is a specified non-null, non-key property of the SettingData subclass, and the value is set to 1.

Unknown (0)

Is AC Setting (1)

Is Not AC Setting (2 )

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.

Unknown (0)

Is Current (1)

Is Not Current (2)

ManagedElement

Data type: Win32_PowerSetting

Access type: Read/write

Specifies the InstanceID of the power setting to which the setting data applies.

SettingData

Data type: Win32_PowerSettingDataIndex

Access type: Read/write

Specifies the InstanceID of the setting data that corresponds to the value of the setting.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Namespace

Root\CIMV2\power

MOF

PowerWmiProvider.mof

DLL

PowerWmiProvider.dll