Click or drag to resize
Task Scheduler Managed Class Library

TaskEventWatcherTaskService Property

Gets or sets the TaskService instance associated with this event watcher. Setting this value will override any values set for TargetServer, UserAccountDomain, UserName, and UserPassword and set them to those values in the supplied TaskService instance.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public TaskService TaskService { get; set; }
Request Example View Source

Property Value

TaskService
The TaskService.
See Also