共用方式為


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)

實作

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.