Partager via


Propriété IDTSRuntimeComponent100.EventInfos

Sets the IDTSEventInfos100 collection of the PipelineComponent object.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
WriteOnly Property EventInfos As IDTSEventInfos100 
    Set
'Utilisation
Dim instance As IDTSRuntimeComponent100 
Dim value As IDTSEventInfos100

instance.EventInfos = value
IDTSEventInfos100 EventInfos { set; }
property IDTSEventInfos100^ EventInfos {
    void set (IDTSEventInfos100^ value);
}
abstract EventInfos : IDTSEventInfos100 with get, set
function set EventInfos (value : IDTSEventInfos100)

Valeur de propriété

Type : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEventInfos100
The IDTSEventInfos100 object provided to the PipelineComponent object.

Notes

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 Outils de données SQL Server (SSDT) lists the custom event in the Event Handler drop-down box.

Voir aussi

Référence

IDTSRuntimeComponent100 Interface

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper