The SuccessReturnCode property specifies a return code that indicates whether the task completed successfully.
CreateProcessTask Object |
object.SuccessReturnCode [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Return code from the process |
If the process exit code does not match the default value of 0, the task fails.
Long
Read/write
HRESULT GetSuccessReturnCode(LONG *pRetVal);
HRESULT SetSuccessReturnCode(LONG NewValue);