Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[[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 scheduling tasks.
It is the primary interface of the task scheduler object. To create a task scheduler object, call CoCreateInstance.
The ITaskScheduler interface inherits from the IUnknown interface. ITaskScheduler also has these types of members:
The ITaskScheduler interface has these methods.
ITaskScheduler::Activate The Activate method returns an active interface for a specified work item. |
ITaskScheduler::AddWorkItem The AddWorkItem method adds a task to the schedule of tasks. |
ITaskScheduler::Delete The Delete method deletes a task. |
ITaskScheduler::Enum The Enum method retrieves a pointer to an OLE enumerator object that enumerates the tasks in the current task folder. |
ITaskScheduler::GetTargetComputer The GetTargetComputer method returns the name of the computer on which ITaskScheduler is currently targeted. |
ITaskScheduler::IsOfType The IsOfType method checks the object's type to verify that it supports a particular interface. |
ITaskScheduler::NewWorkItem The NewWorkItem method creates a new work item, allocating space for the work item and retrieving its address. |
ITaskScheduler::SetTargetComputer The SetTargetComputer method selects the computer that the ITaskScheduler interface operates on, allowing remote task management and enumeration. |
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 |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!