 | TaskServiceGetTask Method |
Gets the task with the specified path.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntaxpublic Task GetTask(
string taskPath
)
Request Example
View SourceParameters
- taskPath String
- The task path.
Return Value
Task
The
Task instance matching the
taskPath, if found. If not found, this method returns
null.
See Also