Interface IDTSEvents

Defines a set of events used by the TaskHost on behalf of a task.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Interface IDTSEvents
'Utilisation
Dim instance As IDTSEvents
public interface IDTSEvents
public interface class IDTSEvents
type IDTSEvents =  interface end
public interface IDTSEvents

Le type IDTSEvents expose les membres suivants.

Méthodes

  Nom Description
Méthode publique OnBreakpointHit Called when a breakpoint is hit within a task.
Méthode publique OnCustomEvent Called by tasks to raise custom task-defined events.
Méthode publique OnError Called by a task or container when an error occurs.
Méthode publique OnExecutionStatusChanged Called by a task or container when its execution status changes.
Méthode publique OnInformation Called any time the task is required to provide information.
Méthode publique OnPostExecute Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.
Méthode publique OnPostValidate Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.
Méthode publique OnPreExecute Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
Méthode publique OnPreValidate Called when the actual validation logic of the task starts. This event is raised when the validation of the task host or container begins.
Méthode publique OnProgress Called to update progress about task execution.
Méthode publique OnQueryCancel Called at any juncture in task processing where it is feasible to cancel execution. This event is raised by tasks and containers to determine whether they should stop running.
Méthode publique OnTaskFailed Called by the task host when it fails.
Méthode publique OnVariableValueChanged Called by the run-time engine. It is not called by tasks.
Méthode publique OnWarning Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Haut de la page

Notes

For each method, there is a related object in the DtsEventHandlers collection that handles the event. If the event is disabled, the object will not execute and will return false. If the object does not handle the event at the local level, the event is escalated to the parent container to be handled.

These methods provide indexes into the events collection for the corresponding event handler.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime