ITask::put_IsExclusive method

Sets a value that determines whether other tasks from the job can run on the node at the same time as this task.

Syntax

HRESULT put_IsExclusive(
  [in] VARIANT_BOOL Val
);

Parameters

  • Val [in]
    Set the value to VARIANT_TRUE to prevent other tasks from the same job from running on the node; otherwise, VARIANT_FALSE. The default is VARIANT_FALSE.

Return value

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

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ITask

ITask::get_IsExclusive

IJob::put_IsExclusive