IBootTrigger interface (taskschd.h)
Represents a trigger that starts a task when the system is started.
The IBootTrigger interface inherits from the ITrigger interface.
The IBootTrigger interface has these methods.
Gets or sets a value that indicates the amount of time between when the system is booted and when the task is started. (Get)
Gets or sets a value that indicates the amount of time between when the system is booted and when the task is started. (Put)
The Task Scheduler service is started when the operating system is booted, and boot trigger tasks are set to start when the Task Scheduler service starts.
Only a member of the Administrators group can create a task with a boot trigger.
When creating your own XML for a task, a boot trigger is specified using the BootTrigger element of the Task Scheduler schema.
For more information and example code for this interface, see Boot Trigger Example (C++).
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|