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)

Syntax

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

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

Parameters

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.

Remarks

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

See Also

Reference

ScheduledTasks Class

ScheduledTasks Members

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