Compartilhar via


Método DtsConvert.ToPackage90

Observação: essa API está obsoleta.

*** 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 (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
<ObsoleteAttribute("The ToXXXX90() methods have been replaced with the GetExtendedInteface() method.")> _
Public Shared Function ToPackage90 ( _
    pkg As Package _
) As IDTSPackage100
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
A native IDTSPackage100 object.

Consulte também

Referência

DtsConvert Classe

Namespace Microsoft.SqlServer.Dts.Runtime