Proprietà Events

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

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

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

Implementa

IDTSPipeline100. . :: . .Events

Osservazioni

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.