Share via


ISchedulerJob::AutoCalculateMin property

Determines whether the scheduler automatically calculates the minimum resource value.

This property is read/write.

Syntax

HRESULT put_AutoCalculateMin(
  [in]  VARIANT_BOOL autoCalcMax
);

HRESULT get_AutoCalculateMin(
  [out] VARIANT_BOOL *pAutoCalcMax
);

Property value

Set to VARIANT_TRUE if you want the scheduler to calculate the minimum 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 minimum resource value the scheduler calculates (for example, ISchedulerJob::MinimumNumberOfNodes or ISchedulerJob::MinimumNumberOfCores).

If you set one of the minimum resource properties, you must set AutoCalculateMin to VARIANT_FALSE; otherwise, the minimum 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

ISchedulerJob.AutoCalculateMax

ISchedulerJob.CanShrink

ISchedulerJob.MinimumNumberOfNodes

ISchedulerJob.MinimumNumberOfCores

ISchedulerJob.MinimumNumberOfSockets

JobUnitType