共用方式為


MainPipeClass.Events 屬性

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 (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Public Overridable WriteOnly Property Events As IDTSComponentEvents100 
    Set
'用途
Dim instance As MainPipeClass 
Dim value As IDTSComponentEvents100

instance.Events = value
public virtual IDTSComponentEvents100 Events { set; }
public:
virtual property IDTSComponentEvents100^ Events {
    void set (IDTSComponentEvents100^ value);
}
abstract Events : IDTSComponentEvents100 with get, set 
override Events : IDTSComponentEvents100 with get, set
function set Events (value : IDTSComponentEvents100)

屬性值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100
The IDTSComponentEvents100 interface.

實作

IDTSPipeline100.Events

備註

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

請參閱

參考

MainPipeClass 類別

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間