IClusterService.AddTask Method
This method supports the infrastructure and is not intended to be used directly from your code.
Adds the specified task to the specified job.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Function AddTask ( _
jobId As Integer, _
task As ITask _
) As ITask
ITask AddTask (
int jobId,
ITask task
)
ITask^ AddTask (
int jobId,
ITask^ task
)
ITask AddTask (
int jobId,
ITask task
)
function AddTask (
jobId : int,
task : ITask
) : ITask
Parameters
- jobId
The job identifier. To get the identifier access the IJob.Id property.
- task
An ITask interface of the task that you want to add to the job.
Return Value
An ITask interface of the task that was added to the job.
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