Partilhar via


ApplicationClass.LoadPackage(String, Boolean, IDTSEvents100) Método

Definição

Carrega um pacote do sistema de arquivos e especifica o modelo de threading.

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadPackage(System::String ^ FileName, bool loadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::LoadPackage;
public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadPackage(System::String ^ FileName, bool loadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::LoadPackage;
[System.Runtime.InteropServices.DispId(9)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 LoadPackage (string FileName, bool loadNeutral, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(9)>]
abstract member LoadPackage : string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
override this.LoadPackage : string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Overridable Function LoadPackage (FileName As String, loadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

Parâmetros

FileName
String

O nome do arquivo que contém o pacote a ser carregado.

loadNeutral
Boolean

true para carregar o pacote como threaded neutro. false para carregar o pacote como threaded de apartamento.

pEvents
IDTSEvents100

Uma interface IDTSEvents.

Retornos

O pacote que foi carregado.

Implementações

Atributos

Aplica-se a