Freigeben über


ApplicationClass.LoadFromSQLServer2 Methode

Definition

Lädt ein Paket von SQL Server.

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

Parameter

bstrPackagePath
String

Der Name und Pfad des zu ladenden Pakets.

vConnectionObject
Object

Das Verbindungsobjekt.

bLoadNeutral
Boolean

true, um das Paket als neutralen Thread zu laden. false, um das Paket als Apartmentthreads zu laden.

pEvents
IDTSEvents100

Eine IDTSEvents-Schnittstelle.

Gibt zurück

Das Paket, das geladen wurde.

Implementiert

Attribute

Gilt für: