Share via


ResourceUsage.AllocatedNodes Property

Retrieves the list of nodes that are allocated to the job or task.

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

Usage

Syntax

'Declaration
Public ReadOnly Property AllocatedNodes As INameValueCollection
public INameValueCollection AllocatedNodes { get; }
public:
virtual property INameValueCollection^ AllocatedNodes {
    INameValueCollection^ get () sealed;
}
/** @property */
public final INameValueCollection get_AllocatedNodes ()
public final function get AllocatedNodes () : INameValueCollection

Property Value

An INameValueCollection interface that contains a collection of nodes that are allocated to the job or task. The collection contains one or more INameValue interfaces. The name member of the name/value pair contains the name of the node, and the value member contains the number of processors on the node.

Remarks

For a task, the list of required nodes (see Task.RequiredNodes), or if you did not specify required nodes, the node on which the task ran.

For a job, the list of nodes that you requested for the job (see Job.AskedNodes), or if you did not request nodes, the list of all nodes in the cluster.

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

ResourceUsage Class
ResourceUsage Members
Microsoft.ComputeCluster Namespace