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.
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.
Inheritance
The ITaskService interface inherits from the IUnknown interface. ITaskService also has these types of members:
Methods
The ITaskService interface has these methods.
ITaskService::Connect Connects to a remote computer and associates all subsequent calls on this interface with a remote session. |
ITaskService::get_Connected Gets a Boolean value that indicates if you are connected to the Task Scheduler service. |
ITaskService::get_ConnectedDomain Gets the name of the domain to which the TargetServer computer is connected. |
ITaskService::get_ConnectedUser Gets the name of the user that is connected to the Task Scheduler service. |
ITaskService::get_HighestVersion Indicates the highest version of Task Scheduler that a computer supports. |
ITaskService::get_TargetServer Gets the name of the computer that is running the Task Scheduler service that the user is connected to. |
ITaskService::GetFolder Gets a folder of registered tasks. |
ITaskService::GetRunningTasks Gets a collection of running tasks. |
ITaskService::NewTask Returns an empty task definition object to be filled in with settings and properties and then registered using the ITaskFolder::RegisterTaskDefinition method. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | taskschd.h |