Edit

Share via


PowerAction Enum

Definition

Defines the computer power action.

public enum PowerAction
type PowerAction = 
Public Enum PowerAction
Inheritance
PowerAction

Fields

Hibernate 2

Indicates that the computer is to hibernate.

Nothing 0

No action.

Reboot 4

Indicates that the computer is to reboot.

Shutdown 3

Indicates that the computer is to shut down but leave the system power on.

ShutdownOff 5

Indicates that the computer is to shut down and power off.

Sleep 1

Indicates that the computer is to be in standby state.

Applies to