Linguaggio

IDTSApplication100.LoadFromSQLServer2 Metodo

Definizione

Carica un pacchetto da SQL Server specificando il nome del server, il nome utente e la password.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ LoadFromSQLServer2(System::String ^ bstrPackagePath, System::Object ^ vConnectionObject, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(62)]
public 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
Public Function LoadFromSQLServer2 (bstrPackagePath As String, vConnectionObject As Object, bLoadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

Parametri

bstrPackagePath
String

Il nome e il percorso del pacco da caricare.

vConnectionObject
Object

L'oggetto connessione.

bLoadNeutral
Boolean

fedele al carico del pacchetto come filettatura neutra; Falso per caricare il pacco come thread dell'appartamento.

pEvents
IDTSEvents100

Interfaccia IDTSEvents100.

Valori restituiti

Il pacco carico.

Attributi

Si applica a