Compartir a través de


DtsConvert.ToPackage Método

Nota: esta API ya está obsoleta.

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToPackage ( _
    ipkg As IDTSPackage100 _
) As Package
'Uso
Dim ipkg As IDTSPackage100 
Dim returnValue As Package 

returnValue = DtsConvert.ToPackage(ipkg)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Package ToPackage(
    IDTSPackage100 ipkg
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static Package^ ToPackage(
    IDTSPackage100^ ipkg
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToPackage : 
        ipkg:IDTSPackage100 -> Package
public static function ToPackage(
    ipkg : IDTSPackage100
) : Package

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Dts.Runtime.Package
A managed Package object.

Vea también

Referencia

DtsConvert Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime