ITask.Id Property
Retrieves the task identifier.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
ReadOnly Property Id As Integer
int Id { get; }
property int Id {
int get ();
}
/** @property */
int get_Id ()
function get Id () : int
Property Value
The task identifier.
Remarks
The identifier is not generated until you add the job to the cluster. The identifier will be zero if you call the IJob.AddTask method to add the task to a job. If you call the ICluster.AddTask method to add the task to an existing job, the identifier is generated when you add the task 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
ITask Interface
ITask Members
Microsoft.ComputeCluster Namespace