Partager via


Méthode DtsConvert.GetWrapper (IDTSEvents100)

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Shared Function GetWrapper ( _
    events As IDTSEvents100 _
) As IDTSEvents
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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

Voir aussi

Référence

DtsConvert Classe

Surcharge GetWrapper

Espace de noms Microsoft.SqlServer.Dts.Runtime