IDTSRuntimeComponent100.EventInfos 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置 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 方法创建或定义自定义事件。 The custom event is raised during package execution by calling the FireCustomEvent method of the ComponentMetaData.
如果在调用Add该方法时在参数中AllowEventHandlers指定true,SQL Server Data Tools (SSDT) SSIS 设计器中的事件处理程序选项卡将在事件处理程序下拉列表中列出自定义事件。