ISchedulerTask::IsExclusive property

Determines whether other tasks from the job can run on the node at the same time as this task.

This property is read/write.

Syntax

HRESULT put_IsExclusive(
  [in]  VARIANT_BOOL isExclusive
);

HRESULT get_IsExclusive(
  [out] VARIANT_BOOL *pIsExclusive
);

Property value

Set to VARIANT_TRUE if other tasks from the same job cannot run on the node; otherwise, VARIANT_FALSE. The default is VARIANT_FALSE.

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 ErrorMessage task property.

Remarks

If ISchedulerJob::IsExclusive is VARIANT_FALSE, you cannot set this property to VARIANT_TRUE.

If the task is exclusive, you cannot set ISchedulerJob::AutoCalculateMax or ISchedulerJob::AutoCalculateMin to VARIANT_TRUE.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerTask

ISchedulerJob.IsExclusive