Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves counter information for a specified job.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Public Function GetJobCounter ( _
jobId As Integer _
) As IJobCounter
public IJobCounter GetJobCounter (
int jobId
)
public:
virtual IJobCounter^ GetJobCounter (
int jobId
) sealed
public final IJobCounter GetJobCounter (
int jobId
)
public final function GetJobCounter (
jobId : int
) : IJobCounter
Parameters
- jobId
The job identifier. The Cluster.AddJob method returns this value. If you have a job object that has already been added to the cluster, you can access the Job.Id property to get the identifier.
Return Value
An IJobCounter interface that contains information about the tasks in the job. For example, this parameter can indicate the number of tasks that are running or have finished.
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
Cluster Class
Cluster Members
Microsoft.ComputeCluster Namespace
ClusterCounter
GetJobResourceUsage