ITaskTrigger interface (mstask.h)
[[This API may be altered or unavailable in subsequent versions of the operating system or product. Please use the Task Scheduler 2.0 Interfaces instead.] ]
Provides the methods for accessing and setting triggers for a task. Triggers specify task start times, repetition criteria, and other parameters that control when a task is run.
ITaskTrigger is the primary interface of the task_trigger object. To create a trigger object, call CreateTrigger or GetTrigger.
Inheritance
The ITaskTrigger interface inherits from the IUnknown interface. ITaskTrigger also has these types of members:
Methods
The ITaskTrigger interface has these methods.
ITaskTrigger::GetTrigger The GetTrigger method retrieves the current task trigger. |
ITaskTrigger::GetTriggerString The GetTriggerString method retrieves the current task trigger in the form of a string. This string appears in the Task Scheduler user interface in a form similar to "At 2PM every day, starting 5/11/97.". |
ITaskTrigger::SetTrigger The SetTrigger method sets the trigger criteria for a task trigger. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mstask.h |
Redistributable | Internet Explorer 4.0 or later on Windows NT 4.0 and Windows 95 |