Share via


IClusterCounter.TotalNumberOfTasks Property

Retrieves the number of tasks in the cluster.

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

Usage

Syntax

'Declaration
ReadOnly Property TotalNumberOfTasks As Integer
int TotalNumberOfTasks { get; }
property int TotalNumberOfTasks {
    int get ();
}
/** @property */
int get_TotalNumberOfTasks ()
function get TotalNumberOfTasks () : int

Property Value

The number of tasks in the cluster.

Remarks

The count includes those tasks contained in jobs that have been added to the cluster using ICluster.AddJob, ICluster.SubmitJob, or ICluster.QueueJob (or their plural equivalents). The count does not include tasks that are executed as commands (see ICluster.ExecuteCommand).

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

IClusterCounter Interface
IClusterCounter Members
Microsoft.ComputeCluster Namespace