TRIGGER_TYPE_UNION union (mstask.h)
Defines the invocation schedule of the trigger within the Type member of a TASK_TRIGGER structure.
Syntax
typedef union _TRIGGER_TYPE_UNION {
DAILY Daily;
WEEKLY Weekly;
MONTHLYDATE MonthlyDate;
MONTHLYDOW MonthlyDOW;
} TRIGGER_TYPE_UNION;
Members
Daily
A DAILY structure that specifies the number of days between invocations of a task.
Weekly
A WEEKLY structure that specifies the number of weeks between invocations of a task, and day(s) of the week the task will run.
MonthlyDate
A MONTHLYDATE structure that specifies the month(s) and day(s) of the month a task will run.
MonthlyDOW
A MONTHLYDOW structure that specifies the day(s) of the year a task runs by month(s), week of month, and day(s) of week.
Remarks
The TriggerType member of the TASK_TRIGGER structure defines which fields of this union are used.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | mstask.h |