Dela via


DtsConvert.GetWrapper Method (IDTSApplication100)

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

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

Syntax

'Declaration
Public Shared Function GetWrapper ( _
    iapp As IDTSApplication100 _
) As Application
'Usage
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

Return Value

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

Remarks

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