TASK_COMPATIBILITY enumeration (taskschd.h)
Defines what versions of Task Scheduler or the AT command that the task is compatible with.
Syntax
typedef enum _TASK_COMPATIBILITY {
TASK_COMPATIBILITY_AT = 0,
TASK_COMPATIBILITY_V1 = 1,
TASK_COMPATIBILITY_V2 = 2,
TASK_COMPATIBILITY_V2_1 = 3,
TASK_COMPATIBILITY_V2_2 = 4,
TASK_COMPATIBILITY_V2_3 = 5,
TASK_COMPATIBILITY_V2_4 = 6
} TASK_COMPATIBILITY;
Constants
TASK_COMPATIBILITY_AT Value: 0 The task is compatible with the AT command. |
TASK_COMPATIBILITY_V1 Value: 1 The task is compatible with Task Scheduler 1.0. |
TASK_COMPATIBILITY_V2 Value: 2 The task is compatible with Task Scheduler 2.0. |
TASK_COMPATIBILITY_V2_1 Value: 3 |
TASK_COMPATIBILITY_V2_2 Value: 4 |
TASK_COMPATIBILITY_V2_3 Value: 5 |
TASK_COMPATIBILITY_V2_4 Value: 6 |
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | taskschd.h |