Win32_PowerSettingDefinitionPossibleValue class

Represents possible values for a power setting. Associations relate this class with the Win32_PowerSetting instance that it describes.

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

Syntax

[Provider("PowerWmiProvider"), Dynamic]
class Win32_PowerSettingDefinitionPossibleValue : CIM_SettingData
{
  string InstanceID;
  string ElementName;
  uint32 SettingIndex;
  uint32 UInt32Value;
  uint32 UInt64Value;
  string StringValue;
  uint8  BinaryValue[];
};

Members

The Win32_PowerSettingDefinitionPossibleValue class has these types of members:

Properties

The Win32_PowerSettingDefinitionPossibleValue class has these properties.

BinaryValue
Data type: uint8 array
Access type: Read/write

Specifies the value of the possible value that is expressed as a binary array. This value is NULL if the type of this value is not a binary value.

ElementName
Data type: string
Access type: Read-only

Specifies the friendly name of the possible value setting.

InstanceID
Data type: string
Access type: Read-only

Specifies the unique identifier for power setting definition possible value instance.

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

SettingIndex
Data type: uint32
Access type: Read/write

Specifies the value of the possible value that is expressed as an integer index. This property is used when the possible value represents a discrete value.

StringValue
Data type: string
Access type: Read/write

Specifies the value of the possible value that is expressed as a string. This value is NULL if the type of this value is not a string.

UInt32Value
Data type: uint32
Access type: Read/write

Specifies the value of the possible value that is expressed as an unsigned 32-bit integer.

UInt64Value
Data type: uint32
Access type: Read/write

Specifies the value of the possible value that is expressed as an unsigned 64-bit integer.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Namespace

Root\CIMV2\power

MOF

PowerWmiProvider.mof

DLL

PowerWmiProvider.dll

 

 

Community Additions

ADD
Show: