Share via


IDTSExecuteProcess.SuccessValue Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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
Property SuccessValue As Integer 
    Get 
    Set
'Usage
Dim instance As IDTSExecuteProcess 
Dim value As Integer 

value = instance.SuccessValue

instance.SuccessValue = value
int SuccessValue { get; set; }
property int SuccessValue {
    int get ();
    void set (int value);
}
abstract SuccessValue : int with get, set
function get SuccessValue () : int 
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.

See Also

Reference

IDTSExecuteProcess Interface

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace