SuccessReturnCode Property

DTS Programming

DTS Programming

SuccessReturnCode Property

The SuccessReturnCode property specifies a return code that indicates whether the task completed successfully.

Applies To
CreateProcessTask Object CreateProcessTask2 Object
Syntax

object.SuccessReturnCode [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Return code from the process

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSuccessReturnCode(LONG *pRetVal);

HRESULT SetSuccessReturnCode(LONG NewValue);

Remarks

If the process exit code does not match the value specified by SuccessReturnCode, the task fails. The default value is 0.

See Also

FailPackageOnTimeout Property

TerminateProcessAfterTimeout Property

Timeout Property