Propriedade do RDL IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Gets or sets a value that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.
Namespace: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly: Microsoft.SqlServer.ExecProcTask (em Microsoft.SqlServer.ExecProcTask.dll)
Sintaxe
'Declaração
Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean
Get
Set
'Uso
Dim instance As IDTSExecuteProcess
Dim value As Boolean
value = instance.FailTaskIfReturnCodeIsNotSuccessValue
instance.FailTaskIfReturnCodeIsNotSuccessValue = value
bool FailTaskIfReturnCodeIsNotSuccessValue { get; set; }
property bool FailTaskIfReturnCodeIsNotSuccessValue {
bool get ();
void set (bool value);
}
abstract FailTaskIfReturnCodeIsNotSuccessValue : bool with get, set
function get FailTaskIfReturnCodeIsNotSuccessValue () : boolean
function set FailTaskIfReturnCodeIsNotSuccessValue (value : boolean)
Valor da propriedade
Tipo: 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.