Partager via


Propriété ExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly :  Microsoft.SqlServer.ExecProcTask (en Microsoft.SqlServer.ExecProcTask.dll)

Syntaxe

'Déclaration
Public Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ExecuteProcess 
Dim value As Boolean 

value = instance.FailTaskIfReturnCodeIsNotSuccessValue

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

Valeur de propriété

Type : System.Boolean
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.

Implémente

IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue

Voir aussi

Référence

ExecuteProcess Classe

Espace de noms Microsoft.SqlServer.Dts.Tasks.ExecuteProcess