Compartilhar via


Propriedade do RDL PipelineComponent.EventInfos

Gets the IDTSEventInfos100 collection of the PipelineComponent object.

Essa API não é compatível com CLS. 

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (em Microsoft.SqlServer.PipelineHost.dll)

Sintaxe

'Declaração
<CLSCompliantAttribute(False)> _
Public ReadOnly Property EventInfos As IDTSEventInfos100 
    Get
'Uso
Dim instance As PipelineComponent 
Dim value As IDTSEventInfos100 

value = instance.EventInfos
[CLSCompliantAttribute(false)]
public IDTSEventInfos100 EventInfos { get; }
[CLSCompliantAttribute(false)]
public:
property IDTSEventInfos100^ EventInfos {
    IDTSEventInfos100^ get ();
}
[<CLSCompliantAttribute(false)>]
member EventInfos : IDTSEventInfos100
function get EventInfos () : IDTSEventInfos100

Valor da propriedade

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

Comentários

Component developers create and expose custom events by 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 Add, the Event Handlers tab in SSIS Designer, in SSDT (SQL Server Data Tools), shows the custom event in the Event Handler drop down box.

For more information, see Gerando e definindo eventos em um componente de fluxo de dados.

Consulte também

Referência

PipelineComponent Classe

Namespace Microsoft.SqlServer.Dts.Pipeline