Share via


IDTSEvents.OnTaskFailed Method

Called by the task host when it fails.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Sub OnTaskFailed ( _
    taskHost As TaskHost _
)
'Usage
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
)

Parameters

See Also

Reference

IDTSEvents Interface

Microsoft.SqlServer.Dts.Runtime Namespace