FME Server .NET API

IFMEScheduleManager.TaskExists Method 

Checks if the scheduled task exists.

[Visual Basic]
Function TaskExists( _
   ByVal category As String, _
   ByVal name As String _
) As Boolean
[C#]
bool TaskExists(
   string category,
   string name
);

Parameters

category
the task category
name
the task name

Return Value

true if task exists, otherwise false if task does not exist.

Exceptions

Exception TypeCondition
Safe.FMEServer.API.FMEServerException if a FME Repository exception occurred

See Also

IFMEScheduleManager Interface | IFMEScheduleManager Members | Safe.FMEServer.API.Schedule Namespace