IDTSRuntimeComponent100.EventInfos Property

Definition

设置 IDTSEventInfos100 对象的 PipelineComponent 集合。Sets the IDTSEventInfos100 collection of the PipelineComponent object.

public:
 property Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventInfos100 ^ EventInfos {  void set(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEventInfos100 ^ value); };
[System.Runtime.InteropServices.DispId(23)]
[set: System.Runtime.InteropServices.DispId(23)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100 EventInfos { set; }
member this.EventInfos : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100
Public Property EventInfos As IDTSEventInfos100

Property Value

IDTSEventInfos100

IDTSEventInfos100 对象提供的 PipelineComponent 对象。The IDTSEventInfos100 object provided to the PipelineComponent object.

Attributes

Remarks

组件开发人员使用EventInfos集合创建和公开自定义事件。Component developers create and expose custom events using the EventInfos collection. 数据流任务向组件提供集合。The collection is provided to the component by the data flow task. 首先, 通过调用Add方法来创建或定义自定义事件。Custom events are first created, or defined, by calling the Add method. 自定义事件在包执行过程中通过调用FireCustomEvent的方法ComponentMetaData引发。The custom event is raised during package execution by calling the FireCustomEvent method of the ComponentMetaData.

如果在调用true 方法时AllowEventHandlers在参数中SQL Server Data Tools (SSDT)指定, 则 "设计器"中的"事件处理程序"选项卡将列出"事件处理程序"下拉框中的自定义事件。SSIS AddIf you specify true in the AllowEventHandlers parameter when calling the Add method, the Event Handlers tab in the SSIS Designer in SQL Server Data Tools (SSDT)lists the custom event in the Event Handler drop-down box.

Applies to