TASK_COMPATIBILITY enumeration

Defines what versions of Task Scheduler or the AT command that the task is compatible with.

Syntax


typedef enum  { 
  TASK_COMPATIBILITY_AT  = 0,
  TASK_COMPATIBILITY_V1  = 1,
  TASK_COMPATIBILITY_V2  = 2
} TASK_COMPATIBILITY;

Constants

TASK_COMPATIBILITY_AT

The task is compatible with the AT command.

TASK_COMPATIBILITY_V1

The task is compatible with Task Scheduler 1.0.

TASK_COMPATIBILITY_V2

The task is compatible with Task Scheduler 2.0.

Remarks

Task compatibility, which is set through the Compatibility property, should only be set to TASK_COMPATIBILITY_V1 if a task needs to be accessed or modified from a Windows XP, Windows Server 2003, or Windows 2000 computer. Otherwise, it is recommended that Task Scheduler 2.0 compatibility be used because the task will have more features.

Once the task Compatibility property is set to TASK_COMPATIBILITY_V2 and the task is registered, then the task Compatibility property cannot be changed to TASK_COMPATIBILITY_V1.

Requirements

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
Task Scheduler

 

 

Community Additions

ADD
Show:
© 2014 Microsoft