Partager via


Activate method of the Win32_PowerPlan class

Makes the power scheme the only active scheme on the system.

Syntax

void Activate();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

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

See also

Win32_PowerPlan