Edit

Share via


SetPowerManagementSettings Method in Class CCM_PowerManagementSettings

The SetPowerManagementSettings Windows Management Instrumentation (WMI) class method, in Configuration Manager, that sets power management settings on a client.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

Syntax

sint32 SetPowerManagementSettings   
{  
    [IN]  Boolean IsOptOutFromPowerPlan;  
    [OUT] UInt32 ReturnValue;  
};  

Parameters

IsOptOutFromPowerPlan
Data type: Boolean

Qualifiers: [id("0"), in]

true to allow users to exclude their device from power management.

ReturnValue
Data type: UInt32

Qualifiers: [out]

Return value.

Remarks

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.