Share via


ClusterCounter.TotalNumberOfTasks Property

Retrieves the number of tasks in the cluster.

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

Usage

Syntax

'Declaration
Public Property TotalNumberOfTasks As Integer
public int TotalNumberOfTasks { get; set; }
public:
virtual property int TotalNumberOfTasks {
    int get () sealed;
    void set (int value);
}
/** @property */
public final int get_TotalNumberOfTasks ()

/** @property */
public void set_TotalNumberOfTasks (int value)
public final function get TotalNumberOfTasks () : int

public function set TotalNumberOfTasks (value : 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 Cluster.AddJob, Cluster.SubmitJob, or Cluster.QueueJob (or their plural equivalents). The count does not include tasks that are executed as commands (see Cluster.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

ClusterCounter Class
ClusterCounter Members
Microsoft.ComputeCluster Namespace