共用方式為


MainPipeClass.Events Property

Sets the events interface that a data flow, and the components it contains, use to raise events during execution.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<DispIdAttribute(118)> _
Public Overridable WriteOnly Property Events As IDTSComponentEvents90 Implements IDTSPipeline90.Events
[DispIdAttribute(118)] 
public virtual IDTSComponentEvents90 IDTSPipeline90.Events { set; }
[DispIdAttribute(118)] 
public:
virtual property IDTSComponentEvents90^ Events {
    void set ([InAttribute] IDTSComponentEvents90^ ) = IDTSPipeline90::Events::set;
}
J# 支援明確介面實作的使用,但不支援新明確介面實作的宣告。
JScript 支援明確介面實作的使用,但不支援新明確介面實作的宣告。

屬性值

The IDTSComponentEvents90 interface.

備註

To receive events during execution from the data flow task, and from components within the task, create a class that implements the IDTSComponentEvents90 interface and assign the class to this property before execution.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

MainPipeClass Class
MainPipeClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace