Share via


IClusterService.AddTasks Method

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

Adds one or more specified tasks to the specified job.

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

Usage

Syntax

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

Parameters

  • jobId
    The job identifier. To get the identifier access the IJob.Id property.
  • tasks
    An array of ITask interfaces to the tasks that you want to add to the job.

Return Value

An array of ITask interfaces to the tasks that were added to the job. The interfaces in this array correspond directly to the tasks passed in the tasks parameter.

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