ITimeTrigger interface (taskschd.h)
Represents a trigger that starts a task at a specific date and time.
The ITimeTrigger interface inherits from the ITrigger interface.
The ITimeTrigger interface has these methods.
Gets or sets a delay time that is randomly added to the start time of the trigger. (ITimeTrigger.get_RandomDelay)
Gets or sets a delay time that is randomly added to the start time of the trigger. (ITimeTrigger.put_RandomDelay)
The StartBoundary element is a required element for time and calendar triggers (TimeTrigger and CalendarTrigger).
When reading or writing XML for a task, an idle trigger is specified using the TimeTrigger element of the Task Scheduler schema.
For more information and example code for this interface, see Time Trigger Example (C++).
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|