TASK_RUNLEVEL_TYPE enumeration (taskschd.h)

Defines LUA elevation flags that specify with what privilege level the task will be run.

Syntax

typedef enum _TASK_RUNLEVEL {
  TASK_RUNLEVEL_LUA = 0,
  TASK_RUNLEVEL_HIGHEST = 1
} TASK_RUNLEVEL_TYPE;

Constants

 
TASK_RUNLEVEL_LUA
Value: 0
Tasks will be run with the least privileges.
TASK_RUNLEVEL_HIGHEST
Value: 1
Tasks will be run with the highest privileges.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header taskschd.h

See also

Task Scheduler Enumerated Types