Share via


ExecuteProcess.SuccessValue Property

Gets or sets the value returned by the executable or batch file that indicates success.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly:  Microsoft.SqlServer.ExecProcTask (in Microsoft.SqlServer.ExecProcTask.dll)

Syntax

'Declaration
Public Property SuccessValue As Integer
    Get
    Set
'Usage
Dim instance As ExecuteProcess
Dim value As Integer

value = instance.SuccessValue

instance.SuccessValue = value
public int SuccessValue { get; set; }
public:
virtual property int SuccessValue {
    int get () sealed;
    void set (int value) sealed;
}
abstract SuccessValue : int with get, set
override SuccessValue : int with get, set
final function get SuccessValue () : int
final function set SuccessValue (value : int)

Property Value

Type: System.Int32
An Integer that contains the value returned by the executable or batch file that indicates success. By default this value is set to 0.

Implements

IDTSExecuteProcess.SuccessValue