ITask::put_MaximumNumberOfProcessors method

Sets the maximum number of processors required by the task.

Syntax

HRESULT put_MaximumNumberOfProcessors(
  [in] long Val
);

Parameters

  • Val [in]
    The maximum 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:

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob::put_MaximumNumberOfProcessors

ITask

ITask::get_MaximumNumberOfProcessors

ITask::put_MinimumNumberOfProcessors