ScheduledTasks.OpenTask Method

Opens a given task.

Namespace:  Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler
Assembly:  Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)


Public Function OpenTask ( _
    name As String _
) As Task
Dim instance As ScheduledTasks
Dim name As String
Dim returnValue As Task

returnValue = instance.OpenTask(name)
public Task OpenTask(
    string name


Return Value

Type: Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler.Task
An instance of a task or a null reference (Nothing in Visual Basic) if the task name cannot be found.


An open task holds COM interfaces. These COM interfaces are released by the Close method.

See Also


ScheduledTasks Class

ScheduledTasks Members

Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler Namespace