Partager via


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

Définition

Charge un package à partir du système de fichiers et spécifie le modèle de thread.

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

Paramètres

FileName
String

Nom du fichier qui contient le package à charger.

loadNeutral
Boolean

true pour charger le package en tant que thread neutre. false pour charger le package en tant que thread d’appartement.

pEvents
IDTSEvents100

Interface IDTSEvents.

Retours

Package chargé.

Implémente

Attributs

S’applique à