Partager via


ToApplication méthode

Remarque : cette API est obsolète.

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

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

Syntaxe

'Déclaration
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToApplication ( _
    iapp As IDTSApplication100 _
) As Application
'Utilisation
Dim iapp As IDTSApplication100
Dim returnValue As Application

returnValue = DtsConvert.ToApplication(iapp)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Application ToApplication(
    IDTSApplication100 iapp
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static Application^ ToApplication(
    IDTSApplication100^ iapp
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToApplication : 
        iapp:IDTSApplication100 -> Application 
public static function ToApplication(
    iapp : IDTSApplication100
) : Application

Valeur de retour

Type : Microsoft.SqlServer.Dts.Runtime. . :: . .Application
A managed Application object.