ITaskService interface (taskschd.h)
Provides access to the Task Scheduler service for managing registered tasks.
The ITaskService::Connect method should be called before calling any of the other ITaskService methods.
The ITaskService interface inherits from the IUnknown interface. ITaskService also has these types of members:
The ITaskService interface has these methods.
Connects to a remote computer and associates all subsequent calls on this interface with a remote session.
Gets a Boolean value that indicates if you are connected to the Task Scheduler service.
Gets the name of the domain to which the TargetServer computer is connected.
Gets the name of the user that is connected to the Task Scheduler service.
Indicates the highest version of Task Scheduler that a computer supports.
Gets the name of the computer that is running the Task Scheduler service that the user is connected to.
Gets a folder of registered tasks.
Gets a collection of running tasks.
Returns an empty task definition object to be filled in with settings and properties and then registered using the ITaskFolder::RegisterTaskDefinition method.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|