 | 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.10.1
Syntaxpublic TaskService TaskService { get; set; }
Public Property TaskService As TaskService
Get
Set
public:
property TaskService^ TaskService {
TaskService^ get ();
void set (TaskService^ value);
}
Request Example
View SourceProperty Value
Type:
TaskServiceThe TaskService.
See Also