Partager via


Méthode DtsConvert.GetWrapper (IDTSPackage100)

Gets the managed Package object that corresponds to the specified native IDTSPackage100 object.

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

Syntaxe

'Déclaration
Public Shared Function GetWrapper ( _
    ipkg As IDTSPackage100 _
) As Package
'Utilisation
Dim ipkg As IDTSPackage100 
Dim returnValue As Package 

returnValue = DtsConvert.GetWrapper(ipkg)
public static Package GetWrapper(
    IDTSPackage100 ipkg
)
public:
static Package^ GetWrapper(
    IDTSPackage100^ ipkg
)
static member GetWrapper : 
        ipkg:IDTSPackage100 -> Package
public static function GetWrapper(
    ipkg : IDTSPackage100
) : Package

Paramètres

Valeur de retour

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

Notes

Use the DtsConvert.GetWrapper(IDTSPackage100) method instead of the obsolete ToPackage method.

Voir aussi

Référence

DtsConvert Classe

Surcharge GetWrapper

Espace de noms Microsoft.SqlServer.Dts.Runtime