MainPipeClass.Events Property

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Public Overridable WriteOnly Property Events As IDTSComponentEvents100 
    Set
'Usage
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)

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100
The IDTSComponentEvents100 interface.

Implements

IDTSPipeline100.Events

Remarks

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.

See Also

Reference

MainPipeClass Class

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace