다음을 통해 공유


IDTSComponentEvents 인터페이스

Defines an interface that provides event firing.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Interface IDTSComponentEvents
‘사용 방법
Dim instance As IDTSComponentEvents
public interface IDTSComponentEvents
public interface class IDTSComponentEvents
type IDTSComponentEvents =  interface end
public interface IDTSComponentEvents

IDTSComponentEvents 유형에서 다음 멤버를 표시합니다.

메서드

  이름 설명
공용 메서드 FireBreakpointHit Raises an event when a breakpoint target is hit in the package.
공용 메서드 FireCustomEvent Occurs when tasks raise custom task-defined events.
공용 메서드 FireError Raises an event when an error occurs.
공용 메서드 FireInformation Raises an event containing information.
공용 메서드 FireProgress Raises an event when measurable progress is made by the executable.
공용 메서드 FireQueryCancel Raises an event to determine whether an executable should stop running.
공용 메서드 FireWarning Raises an event anytime the task is in a state that does not justify an error, but does warrant alerting the client.

맨 위로 이동

주의

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 데이터 흐름 구성 요소에서 이벤트 발생 및 정의.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime 네임스페이스