ICluster.GetTask Method

Retrieves a task from the specified job.


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

ITask GetTask (
	int jobId,
	int taskId
)
ITask GetTask (
	int jobId, 
	int taskId
)
function GetTask (
	jobId : int, 
	taskId : int
) : ITask

Parameters

jobId

The job identifier. The ICluster.AddJob method returns this value. If you have an instance of the job that has already been added to the cluster, you can access the IJob.Id property to get the identifier.

taskId

The task identifier. The ITask.Id property contains this value.

Return Value

An ITask interface that represents the specified task.

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

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

Community Additions

ADD
Show: