Partager via


Interface IDTSComponentEvents

Defines an interface that provides event firing.

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

Syntaxe

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

Notes

The Integration Services runtime includes this event interface that is passed by the runtime to various components that execute within a package, such as tasks, enumerators, and so on. Events are raised by tasks using the IDTSComponentEvents interface that is supplied during execution and by the run-time execution engine.

The Fire<x> methods can be called at design time and during execution. Typically, during component design, the FireError, FireInformation, and FireWarning methods are called to provide user feedback when a component is incorrectly configured. Events that are raised during component design are displayed in the Task Pane. Additionally, components can define custom events and then raise them during execution using the FireCustomEvent method. For more information, see Déclenchement et définition d'événements dans un composant de flux de données.