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


Метод ToComponentEvents90

Примечание. Этот API-интерфейс устарел.

*** Member obsolete; use the GetExtendedInterface(IDTSComponentEvents) method instead. *** Converts a managed IDTSComponentEvents object to a native IDTSComponentEvents100 object.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToComponentEvents90 ( _
    events As IDTSComponentEvents _
) As IDTSComponentEvents100
'Применение
Dim events As IDTSComponentEvents
Dim returnValue As IDTSComponentEvents100

returnValue = DtsConvert.ToComponentEvents90(events)
[ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public static IDTSComponentEvents100 ToComponentEvents90(
    IDTSComponentEvents events
)
[ObsoleteAttribute(L"The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public:
static IDTSComponentEvents100^ ToComponentEvents90(
    IDTSComponentEvents^ events
)
[<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")>]
static member ToComponentEvents90 : 
        events:IDTSComponentEvents -> IDTSComponentEvents100 
public static function ToComponentEvents90(
    events : IDTSComponentEvents
) : IDTSComponentEvents100

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSComponentEvents100
A native IDTSComponentEvents100 object.