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.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskService TaskService { get; set; }
Property Value
TaskServiceThe TaskService.