Share via


IClusterService.ListTasks Method (Int32)

This method supports the infrastructure and is not intended to be used directly from your code.

Retrieves all tasks in the specified job.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Function ListTasks ( _
    jobId As Integer _
) As ITask()
ITask[] ListTasks (
    int jobId
)
array<ITask^>^ ListTasks (
    int jobId
)
ITask[] ListTasks (
    int jobId
)
function ListTasks (
    jobId : int
) : ITask[]

Parameters

  • jobId
    The job identifier.

Return Value

An array of ITask interfaces. The array is empty when there are no tasks to return.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

IClusterService Interface
IClusterService Members
Microsoft.ComputeCluster Namespace