Udostępnij przez


DtsConvert.ToApplication Method

NOTE: This method is now obsolete.

*** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object. This method is not CLS-compliant.

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

Syntax

'Deklaracja
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToApplication ( _
    iapp As IDTSApplication100 _
) As Application
[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
)
/** @attribute ObsoleteAttribute("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.") 
public static function ToApplication (
    iapp : IDTSApplication100
) : Application

Parameters

Return Value

A managed Application object.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.