Partager via


GetWrapper méthode (IDTSApplication100)

Gets the managed Application object that corresponds to the specified native IDTSApplication100 object.

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

Syntaxe

'Déclaration
Public Shared Function GetWrapper ( _
    iapp As IDTSApplication100 _
) As Application
'Utilisation
Dim iapp As IDTSApplication100
Dim returnValue As Application

returnValue = DtsConvert.GetWrapper(iapp)
public static Application GetWrapper(
    IDTSApplication100 iapp
)
public:
static Application^ GetWrapper(
    IDTSApplication100^ iapp
)
static member GetWrapper : 
        iapp:IDTSApplication100 -> Application 
public static function GetWrapper(
    iapp : IDTSApplication100
) : Application

Valeur de retour

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

Notes

Use the DtsConvert..::..GetWrapper(IDTSApplication100) method instead of the obsolete ToApplication method.