IDTSRuntimeComponent100.EventInfos 属性

定义

设置 IDTSEventInfos100 对象的 PipelineComponent 集合。

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

属性值

IDTSEventInfos100对象提供给对象PipelineComponent

属性

注解

组件开发者利用该 EventInfos 集合创建并暴露自定义事件。 数据流任务将集合提供给组件。 自定义事件首先通过调用该 Add 方法来创建或定义。 在包执行过程中,通过调用 FireCustomEventComponentMetaData的方法来触发自定义事件。

如果您在调用Add该方法时在AllowEventHandlers参数中指定true,SQL Server Data Tools(SSDT)中 SSIS 设计器的事件处理程序标签会在事件处理程序下拉框中列出自定义事件。

适用于