共用方式為


OnTaskFailed 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Sub OnTaskFailed ( _
    taskHost As TaskHost _
)
'用途
Dim instance As PackageUpgradeResult
Dim taskHost As TaskHost

instance.OnTaskFailed(taskHost)
public void OnTaskFailed(
    TaskHost taskHost
)
public:
virtual void OnTaskFailed(
    TaskHost^ taskHost
) sealed
abstract OnTaskFailed : 
        taskHost:TaskHost -> unit 
override OnTaskFailed : 
        taskHost:TaskHost -> unit 
public final function OnTaskFailed(
    taskHost : TaskHost
)

實作

IDTSEvents. . :: . .OnTaskFailed(TaskHost)