IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue Propiedad
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el 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.
Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Ensamblado: Microsoft.SqlServer.ExecProcTask (en Microsoft.SqlServer.ExecProcTask.dll)
Sintaxis
'Declaración
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 de la propiedad
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.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Dts.Tasks.ExecuteProcess