Поделиться через


Метод ToApplication

Примечание. Этот API-интерфейс устарел.

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToApplication ( _
    iapp As IDTSApplication100 _
) As Application
'Применение
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

Возвращаемое значение

Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .Application
A managed Application object.