TaskCollectionExists Method

Determines whether the specified task exists.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public bool Exists(
	string taskName
)

Parameters

taskName  String
The name of the task.

Return Value

Boolean
true if task exists; otherwise, false.

See Also