ISchedulerJob::ValidExitCodes property

Retrieves or sets the exit codes to be used for checking whether tasks in the job successfully exit.

This property is read/write.

Syntax

HRESULT put_ValidExitCodes(
  [in]  BSTR value
);

HRESULT get_ValidExitCodes(
  [out] BSTR *pValue
);

Property value

The exit codes that indicate whether tasks in the job successfully exited.

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

Specifies the exit codes to be used for checking whether the task successfully exited. You can specify discrete integers and integer ranges separated by commas.

Integer ranges are denoted by integers separated by two periods. For example, 10..20 represents an integer range from ten to twenty.

The values min and max may be used to specify minimum and maximum integer values. For example, 0..max represents nonnegative integers.

Requirements

Product

This property was introduced in Windows HPC Pack 2012 and is not supported in previous versions.

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerTask