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 該方法來建立或定義的。 自訂事件會在套件執行時透過呼叫 FireCustomEventComponentMetaData的方法來觸發。

如果您在呼叫Add該方法時於參數中指定為 trueAllowEventHandlers,則在 SQL Server Data Tools(SSDT) 的 SSIS 設計器中的事件處理程序分頁中,會在事件處理程序下拉選單中列出自訂事件。

適用於