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.
Retrieves or sets the minimum number of sockets that the task requires to run.
This property is read/write.
Syntax
HRESULT put_MinimumNumberOfSockets(
  [in]  long minSockets
);
HRESULT get_MinimumNumberOfSockets(
  [out] long *pMinSockets
);
Property value
The minimum number of sockets. The default is 1.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ErrorMessage task property.
Remarks
Set this property if the UnitType job property is JobUnitType_Socket.
This property tells the scheduler that the task requires at least n sockets to run (the scheduler will not allocate less than this number of sockets for the task).
The value must be less than or equal to:
- The value of the MaximumNumberOfSockets task property.
- The value of the MinimumNumberOfSockets job property.
Requirements
| Product | HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities | 
| Type library | Microsoft.Hpc.Scheduler.tlb | 
See also
ISchedulerTask.MaximumNumberOfSockets