Retrieves or sets the exit codes to be used for checking whether tasks in the job successfully exit.
This property is read/write.
HRESULT put_ValidExitCodes( [in] BSTR value ); HRESULT get_ValidExitCodes( [out] BSTR *pValue );
The exit codes that indicate whether task successfully exited.
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.
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.
min and max may be used to specify minimum and maximum integer values. For example, 0..max represents nonnegative integers.
Note The ISchedulerTask::ValidExitCodes property overrides the job success exit codes specified by the ISchedulerJob::ValidExitCodes property.
This property was introduced in Windows HPC Pack 2012 and is not supported in previous versions.