Condividi tramite


ExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue Property

Gets or sets a Boolean that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly : Microsoft.SqlServer.ExecProcTask (in microsoft.sqlserver.execproctask.dll)

Sintassi

'Dichiarazione
Public Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean
public bool FailTaskIfReturnCodeIsNotSuccessValue { get; set; }
public:
virtual property bool FailTaskIfReturnCodeIsNotSuccessValue {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_FailTaskIfReturnCodeIsNotSuccessValue ()

/** @property */
public final void set_FailTaskIfReturnCodeIsNotSuccessValue (boolean value)
public final function get FailTaskIfReturnCodeIsNotSuccessValue () : boolean

public final function set FailTaskIfReturnCodeIsNotSuccessValue (value : boolean)

Valore proprietà

true if the task fails if the process exit code is different from the value specified in SuccessValue; false if the task continues regardless of a mismatch between the process error code and the SuccessValue property.

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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