Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
- Exceed the value for the IJob::put_MaximumNumberOfProcessors method.
- Be less than the ITask::put_MinimumNumberOfProcessors method.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |
See also
IJob::put_MaximumNumberOfProcessors