Partager via


Win32_PowerSettingDefinition class

Represents a power setting definition. It extends the CIM_Capabilities class and is used to define a power setting. An association links this object with the Win32_PowerSetting that it defines. Associations are also created that link the Win32_PowerSettingDefinition object with objects that define the power setting. These will be either Win32_PowerSettingDefinitionPossibleValue objects for discrete settings or Win32_PowerSettingDefinitionRangeData objects for settings that are ranges.

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

Syntax

[Provider("PowerWmiProvider"), Dynamic]
class Win32_PowerSettingDefinition : CIM_Capabilities
{
  string InstanceID;
};

Members

The Win32_PowerSettingDefinition class has these types of members:

Properties

The Win32_PowerSettingDefinition class has these properties.

InstanceID

Data type: string

Access type: Read-only

Specifies the unique identifier for the power setting definition.

The InstanceID string must be in the following format: "Microsoft:SettingDefinition\{Definition_GUID}".

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2\power
MOF
PowerWmiProvider.mof
DLL
PowerWmiProvider.dll