IDTSRuntimeComponent100.EventInfos 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
property Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSEventInfos100 ^ EventInfos { void set(Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::IDTSEventInfos100 ^ value); };
[System.Runtime.InteropServices.DispId(23)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.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.Sql2012.IDTSEventInfos100
Public Property EventInfos As IDTSEventInfos100
屬性值
IDTSEventInfos100提供給 PipelineComponent 物件的物件。
- 屬性
備註
元件開發者會利用這個 EventInfos 集合來建立並公開自訂事件。 資料流任務會將集合提供給元件。 自訂事件首先透過呼叫 Add 方法來建立或定義。 自訂事件會在套件執行時透過呼叫 FireCustomEventComponentMetaData的方法來觸發。
如果您在呼叫 Add 方法時,參數中指定為 true,SQLAllowEventHandlers Server Data Tools(SSDT)中 SSIS Designer 的事件處理程序分頁會在事件處理程序下拉選單中列出自訂事件。