ISchedulerJob::AllocatedNodes property

Retrieves the names of the nodes that have been allocated to run the tasks in the job or have run the tasks.

This property is read-only.

Syntax

HRESULT get_AllocatedNodes(
  [out] IStringCollection **pNodeNames
);

Property value

An IStringCollection interface that contains the names of the nodes that have been allocated to run the tasks or have run the tasks.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.

Remarks

The list of allocated nodes are available after the job transitions to the Running state.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob.RequestedNodes

ISchedulerTask.AllocatedNodes

ISchedulerTask.RequiredNodes