Sdílet prostřednictvím


IDTSRuntimeComponent100.EventInfos Property

Definition

Sets the IDTSEventInfos100 collection of the PipelineComponent object.

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

Property Value

The IDTSEventInfos100 object provided to the PipelineComponent object.

Attributes

Remarks

Component developers create and expose custom events using the EventInfos collection. The collection is provided to the component by the data flow task. Custom events are first created, or defined, by calling the Add method. The custom event is raised during package execution by calling the FireCustomEvent method of the ComponentMetaData.

If you specify true in the AllowEventHandlers parameter when calling the Add method, the Event Handlers tab in the SSIS Designer in SQL Server Data Tools (SSDT)lists the custom event in the Event Handler drop-down box.

Applies to