Метод DtsConvert.GetExtendedInterface (IDTSComponentEvents)
Gets the native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Shared Function GetExtendedInterface ( _
events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Применение
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100
returnValue = DtsConvert.GetExtendedInterface(events)
public static IDTSComponentEvents100 GetExtendedInterface(
IDTSComponentEvents events
)
public:
static IDTSComponentEvents100^ GetExtendedInterface(
IDTSComponentEvents^ events
)
static member GetExtendedInterface :
events:IDTSComponentEvents -> IDTSComponentEvents100
public static function GetExtendedInterface(
events : IDTSComponentEvents
) : IDTSComponentEvents100
Параметры
- events
Тип: Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
A managed IDTSComponentEvents object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSComponentEvents100
The native IDTSComponentEvents100 object that corresponds to the specified managed IDTSComponentEvents object.
Замечания
Use the DtsConvert.GetExtendedInterface(IDTSComponentEvents) method instead of the obsolete ToComponentEvents90 method.