TaskCollectionExists Method
Determines whether the specified task exists.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public bool Exists(
string taskName
)
- taskName String
- The name of the task.
Booleantrue if task exists; otherwise, false.