共用方式為


OnTaskFailed 方法

Called by the task host when it fails.

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

語法

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

instance.OnTaskFailed(taskHost)
void OnTaskFailed(
    TaskHost taskHost
)
void OnTaskFailed(
    TaskHost^ taskHost
)
abstract OnTaskFailed : 
        taskHost:TaskHost -> unit 
function OnTaskFailed(
    taskHost : TaskHost
)

參數