Task.Id Property
Retrieves the task identifier.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
<XmlAttributeAttribute> _
<DefaultValueAttribute(0)> _
Public Property Id As Integer
[XmlAttributeAttribute]
[DefaultValueAttribute(0)]
public int Id { get; set; }
[XmlAttributeAttribute]
[DefaultValueAttribute(0)]
public:
virtual property int Id {
int get () sealed;
void set (int value);
}
/** @property */
public final int get_Id ()
/** @property */
public void set_Id (int value)
public final function get Id () : int
public function set Id (value : 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 Job.AddTask method to add the task to a job. If you call the Cluster.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