Partager via


ApplicationClass.LoadFromDtsServer Méthode

Définition

Charge un package à partir du serveur spécifié.

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

Paramètres

bstrPackagePath
String

Chemin d'accès complet du package.

bstrServerName
String

Serveur où est stocké le package.

bLoadNeutral
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 à