PackageUpgradeResult.OnTaskFailed Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Called by the task host when it fails.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Sub OnTaskFailed ( _
taskHost As TaskHost _
)
'Usage
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
)
Parameters
- taskHost
Type: Microsoft.SqlServer.Dts.Runtime.TaskHost
The task host object that failed.
Implements
IDTSEvents.OnTaskFailed(TaskHost)