共用方式為


IDTSEvents.OnTaskFailed(TaskHost) Method

Definition

Called by the task host when it fails.

public:
 void OnTaskFailed(Microsoft::SqlServer::Dts::Runtime::TaskHost ^ taskHost);
public void OnTaskFailed (Microsoft.SqlServer.Dts.Runtime.TaskHost taskHost);
abstract member OnTaskFailed : Microsoft.SqlServer.Dts.Runtime.TaskHost -> unit
Public Sub OnTaskFailed (taskHost As TaskHost)

Parameters

taskHost
TaskHost

The TaskHost object that failed.

Applies to