Compartir a través de


Interfaz IDTSComponentEvents

Defines an interface that provides event firing.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Interface IDTSComponentEvents
'Uso
Dim instance As IDTSComponentEvents
public interface IDTSComponentEvents
public interface class IDTSComponentEvents
type IDTSComponentEvents =  interface end
public interface IDTSComponentEvents

El tipo IDTSComponentEvents expone los siguientes miembros.

Métodos

  Nombre Descripción
Método público FireBreakpointHit Raises an event when a breakpoint target is hit in the package.
Método público FireCustomEvent Occurs when tasks raise custom task-defined events.
Método público FireError Raises an event when an error occurs.
Método público FireInformation Raises an event containing information.
Método público FireProgress Raises an event when measurable progress is made by the executable.
Método público FireQueryCancel Raises an event to determine whether an executable should stop running.
Método público FireWarning Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.

Arriba

Comentarios

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 Provocar y definir eventos en un componente de flujo de datos.