Compartilhar via


DtsConvert.ToPackage(IDTSPackage100) Método

Definição

Cuidado

The ToXXXX() methods have been replaced with the GetWrapper() method.

Membro obsoleto; em vez disso, use o GetWrapper(IDTSPackage100) método . Converte um objeto nativo IDTSPackage100 em um objeto gerenciado Package .

public:
 static Microsoft::SqlServer::Dts::Runtime::Package ^ ToPackage(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ ipkg);
[System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Microsoft.SqlServer.Dts.Runtime.Package ToPackage (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 ipkg);
[<System.Obsolete("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToPackage : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 -> Microsoft.SqlServer.Dts.Runtime.Package
Public Shared Function ToPackage (ipkg As IDTSPackage100) As Package

Parâmetros

ipkg
IDTSPackage100

O objeto IDTSPackage100 nativo.

Retornos

Um objeto Package gerenciado.

Atributos

Aplica-se a