Export (0) Print
Expand All

ISchedulerTask::StartValue property

Retrieves or sets the starting instance value for a parametric task.

This property is read/write.

Syntax


HRESULT put_StartValue(
  [in]   long value
);

HRESULT get_StartValue(
  [out]  long *pValue
);

Property value

The starting instance value. The value must be greater than zero and must not exceed the value of EndValue. The default value 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

The parametric instance value is incremented by the increment value until the instance value exceeds the specified ending value.

This property has meaning only if the IsParametric property is VARIANT_TRUE.

Examples

For an example, see Creating a Parametric Sweep Task.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerTask
ISchedulerTask.EndValue
ISchedulerTask.IncrementValue
ISchedulerTask.IsParametric

 

 

Show:
© 2014 Microsoft