Dela via


DtsConvert.ToPackage90 Method

Note: This API is now obsolete.

*** Member obsolete; use the GetExtendedInterface(Package) method instead. *** Converts a managed Package object to a native IDTSPackage100 object.

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

Syntax

'Declaration
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToPackage90 ( _
    pkg As Package _
) As IDTSPackage100
'Usage
Dim pkg As Package
Dim returnValue As IDTSPackage100

returnValue = DtsConvert.ToPackage90(pkg)
[ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public static IDTSPackage100 ToPackage90(
    Package pkg
)
[ObsoleteAttribute(L"The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")]
public:
static IDTSPackage100^ ToPackage90(
    Package^ pkg
)
[<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")>]
static member ToPackage90 : 
        pkg:Package -> IDTSPackage100 
public static function ToPackage90(
    pkg : Package
) : IDTSPackage100

Parameters