ISchedulerJob::AutoCalculateMax property
Determines whether the scheduler automatically calculates the maximum resource value.
This property is read/write.
Syntax
HRESULT put_AutoCalculateMax(
[in] VARIANT_BOOL autoCalcMax
);
HRESULT get_AutoCalculateMax(
[out] VARIANT_BOOL *pAutoCalcMax
);
Property value
Set to VARIANT_TRUE if you want the scheduler to calculate the maximum value; otherwise, VARIANT_FALSE if you are going to specify the value.
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 ISchedulerJob::ErrorMessage property.
Remarks
The value of the ISchedulerJob::UnitType property determines which maximum resource value the scheduler calculates (for example, ISchedulerJob::MaximumNumberOfNodes or ISchedulerJob::MaximumNumberOfCores).
If you set one of the maximum resource properties, you must set AutoCalculateMax to VARIANT_FALSE; otherwise, the maximum resource value that you specified will be ignored.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |
See also
ISchedulerJob.AutoCalculateMin
ISchedulerJob.MaximumNumberOfNodes
ISchedulerJob.MaximumNumberOfCores