共用方式為


OnTaskFailed 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

命名空間:  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)