Proprietà IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Gets or sets a value 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
Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean
Get
Set
'Utilizzo
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)
Valore proprietà
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.
Vedere anche
Riferimento
IDTSExecuteProcess Interfaccia
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.ExecuteProcess