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
public int SuccessValue { get; set; }
public:
virtual property int SuccessValue {
    int get () sealed;
    void set (int value) sealed;
}
/** @property */
public final int get_SuccessValue ()

/** @property */
public final void set_SuccessValue (int value)
public final function get SuccessValue () : int

public final function set SuccessValue (value : int)

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ExecuteProcess Class
ExecuteProcess Members
Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace