TaskEventWatcher(String, String, String, Boolean, String, String, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventWatcher(
string machineName,
string folder,
string taskFilter = "*",
bool includeSubfolders = false,
string domain = null,
string user = null,
string password = null
)
Parameters
- machineName String
- Name of the remote machine.
- folder String
- The task folder to watch.
- taskFilter String (Optional)
- The filter for task names using standard file system wildcards. Use "*" to include all tasks.
- includeSubfolders Boolean (Optional)
- if set to true include events from tasks subfolders.
- domain String (Optional)
- The domain of the user account.
- user String (Optional)
- The user name with permissions on the remote machine.
- password String (Optional)
- The password for the user.