Метод ToEvents
Примечание. Этот API-интерфейс устарел.
*** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
events As IDTSEvents100 _
) As IDTSEvents
'Применение
Dim events As IDTSEvents100
Dim returnValue As IDTSEvents
returnValue = DtsConvert.ToEvents(events)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static IDTSEvents ToEvents(
IDTSEvents100 events
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static IDTSEvents^ ToEvents(
IDTSEvents100^ events
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToEvents :
events:IDTSEvents100 -> IDTSEvents
public static function ToEvents(
events : IDTSEvents100
) : IDTSEvents
Параметры
- events
Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSEvents100
The native IDTSEvents100 object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSEvents
A managed IDTSEvents object.