共用方式為


IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue Property

Definition

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

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

public:
 property bool FailTaskIfReturnCodeIsNotSuccessValue { bool get(); void set(bool value); };
public bool FailTaskIfReturnCodeIsNotSuccessValue { get; set; }
member this.FailTaskIfReturnCodeIsNotSuccessValue : bool with get, set
Public Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean

Property Value

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.

Applies to