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