Freigeben über


DtsConvert.GetWrapper-Methode (IDTSEvents100)

Gets the managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.

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

Syntax

'Declaration
Public Shared Function GetWrapper ( _
    events As IDTSEvents100 _
) As IDTSEvents
'Usage
Dim events As IDTSEvents100 
Dim returnValue As IDTSEvents 

returnValue = DtsConvert.GetWrapper(events)
public static IDTSEvents GetWrapper(
    IDTSEvents100 events
)
public:
static IDTSEvents^ GetWrapper(
    IDTSEvents100^ events
)
static member GetWrapper : 
        events:IDTSEvents100 -> IDTSEvents
public static function GetWrapper(
    events : IDTSEvents100
) : IDTSEvents

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Dts.Runtime.IDTSEvents
The managed IDTSEvents object that corresponds to the specified native IDTSEvents100 object.

Hinweise

Use the DtsConvert.GetWrapper(IDTSEvents100) method instead of the obsolete ToEvents method.

Siehe auch

Verweis

DtsConvert Klasse

GetWrapper-Überladung

Microsoft.SqlServer.Dts.Runtime-Namespace