IDTSExecuteProcess.FailTaskIfReturnCodeIsNotSuccessValue 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets a value that indicates whether the task fails if the process exit code is different from the value specified in SuccessValue.
命名空間: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件: Microsoft.SqlServer.ExecProcTask (在 Microsoft.SqlServer.ExecProcTask.dll 中)
語法
'宣告
Property FailTaskIfReturnCodeIsNotSuccessValue As Boolean
Get
Set
'用途
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)
屬性值
型別: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.