Linguaggio

IDTSApplication100.LoadFromSQLServer 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 ^ LoadFromSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword, bool bLoadNeutral, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents);
[System.Runtime.InteropServices.DispId(14)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 LoadFromSQLServer(string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword, bool bLoadNeutral, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(14)>]
abstract member LoadFromSQLServer : string * string * string * string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Function LoadFromSQLServer (bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String, bLoadNeutral As Boolean, pEvents As IDTSEvents100) As IDTSPackage100

Parametri

bstrPackagePath
String

Il nome e il percorso del pacco da caricare.

bstrServerName
String

Il nome dell'istanza di SQL Server da cui viene caricato il pacchetto.

bstrServerUserName
String

Il nome dell'account usato per accedere al server.

bstrServerPassword
String

La password dell'account.

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 che è stato caricato.

Attributi

Si applica a