ITask::put_MinimumNumberOfProcessors method

Sets the minimum number of processors required by the task.

Syntax

HRESULT put_MinimumNumberOfProcessors(
  [in] long Val
);

Parameters

  • Val [in]
    The minimum number of processors. The default is 1.

Return value

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

Remarks

This value cannot exceed the value for the IJob::put_MinimumNumberOfProcessors method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob::put_MinimumNumberOfProcessors

ITask

ITask::get_MinimumNumberOfProcessors

ITask::put_MaximumNumberOfProcessors