Click or drag to resize
Task Scheduler Managed Class Library

TaskCollectionExists Method

Determines whether the specified task exists.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public bool Exists(
	string taskName
)
Request Example View Source

Parameters

taskName  String
The name of the task.

Return Value

Boolean
true if task exists; otherwise, false.
See Also