Freigeben über


ToEvents-Methode

Hinweis: Diese API ist veraltet.

*** Member obsolete; use the GetWrapper(IDTSEvents100) method instead. *** Converts a native IDTSEvents100 object to a managed IDTSEvents object.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToEvents ( _
    events As IDTSEvents100 _
) As IDTSEvents
'Usage
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