IJob::put_MaximumNumberOfProcessors method

Sets the maximum number of processors that are required by the job.

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

The value cannot be less than the value of the IJob::put_MinimumNumberOfProcessors method.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob

IJob::get_MaximumNumberOfProcessors

IJob::put_MinimumNumberOfProcessors

ITask::put_MaximumNumberOfProcessors