IDTSRuntimeComponent100.EventInfos 属性

定义

public:
 property Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2014::IDTSEventInfos100 ^ EventInfos {  void set(Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2014::IDTSEventInfos100 ^ value); };
[System.Runtime.InteropServices.DispId(23)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2014.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.Sql2014.IDTSEventInfos100
Public Property EventInfos As IDTSEventInfos100

属性值

IDTSEventInfos100 对象提供的 PipelineComponent 对象。

属性

注解

组件开发人员使用 EventInfos 集合创建和公开自定义事件。 数据流任务向组件提供集合。 首先通过调用 Add 方法创建或定义自定义事件。 通过调用 FireCustomEvent 包的方法 ComponentMetaData在包执行期间引发自定义事件。

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

适用于