Udostępnij przez


Właściwość IDTSRuntimeComponent100.EventInfos

Zestawy IDTSEventInfos100 kolekcja PipelineComponent obiektu.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw:  Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)

Składnia

'Deklaracja
WriteOnly Property EventInfos As IDTSEventInfos100
    Set
'Użycie
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)

Uwagi

Składnik deweloperom tworzenie i narazić zdarzeń niestandardowych za pomocą EventInfos kolekcja.Kolekcja jest dostarczany do składnika przez zadanie przepływ danych.Zdarzenia niestandardowe są najpierw tworzone lub zdefiniowane przez wywołanie Add metoda.Niestandardowe zdarzenie jest wywoływane podczas wykonywania pakiet przez wywołanie FireCustomEvent metoda ComponentMetaData.

If you specify true in the AllowEventHandlers parameter when calling the Add method, the Event Handlers tab in the SSIS Designer in Business Intelligence Development Studio lists the custom event in the Event Handler drop-down box.