ISchedulerJob::ExcludedNodes property
Gets the list of nodes that should not be used for the job.
This property is read-only.
Syntax
HRESULT get_ExcludedNodes(
[out, retval] IStringCollection **pRetVal
);
Property value
An IStringCollection interface that contains the names of the nodes on which the job should not run.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error value.
Remarks
You cannot add nodes to or remove nodes from the set of nodes that should not be used for the job by adding node names to or removing node names from the IStringCollection that the ISchedulerJob::ExcludedNodes property contains. To add nodes to the set, use the ISchedulerJob::AddExcludedNodes method. To remove individual nodes from the set, use the ISchedulerJob::RemoveExcludedNodes method. To remove all of the nodes from the set, use the ISchedulerJob::ClearExcludedNodes method.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |
See also
ISchedulerJob::AddExcludedNodes