Dela via


DtsConvert.ToApplication Method

Note: This API is now obsolete.

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

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

Syntax

'Declaration
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToApplication ( _
    iapp As IDTSApplication100 _
) As Application
'Usage
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

Return Value

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