ISchedulerJob::ClearExcludedNodes method

Removes all of the nodes in the list of nodes that should not be used for the job from that list.

Syntax

HRESULT ClearExcludedNodes();

Parameters

This method has no parameters.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error value.

Remarks

To remove specific nodes from the list of nodes that should not be used for the job, use the ISchedulerJob::RemoveExcludedNodes method.

To confirm that the ISchedulerJob::ClearExcludedNodes method succeeded, check the value of the ISchedulerJob::ExcludedNodes property.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob::AddExcludedNodes

ISchedulerJob::RemoveExcludedNodes

ISchedulerJob::ExcludedNodes