 | TaskCollectionExists Method |
Determines whether the specified task exists.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic bool Exists(
string taskName
)
Public Function Exists (
taskName As String
) As Boolean
public:
bool Exists(
String^ taskName
)
Request Example
View SourceParameters
- taskName
- Type: SystemString
The name of the task.
Return Value
Type:
Booleantrue if task exists; otherwise, false.
See Also