PipelineComponent.EventInfos Property

Gets the IDTSEventInfos90 collection of the PipelineComponent object. This property is not CLS-compliant.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
<CLSCompliantAttribute(False)> _
Public ReadOnly Property EventInfos As IDTSEventInfos90
[CLSCompliantAttribute(false)] 
public IDTSEventInfos90 EventInfos { get; }
[CLSCompliantAttribute(false)] 
public:
property IDTSEventInfos90^ EventInfos {
    IDTSEventInfos90^ get ();
}
/** @property */
public IDTSEventInfos90 get_EventInfos ()
public function get EventInfos () : IDTSEventInfos90

屬性值

The IDTSEventInfos90 object provided to the PipelineComponent object.

備註

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 Business Intelligence Development Studio, shows the custom event in the Event Handler drop down box.

For more information, see Raising and Defining Events in a Data Flow Component.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace