Поделиться через


Свойство 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.