Condividi tramite


ApplicationClass.LoadFromSQLServer Metodo

Definizione

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

public:
 virtual 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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::LoadFromSQLServer;
public:
 virtual 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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::LoadFromSQLServer;
[System.Runtime.InteropServices.DispId(14)]
public virtual 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
override this.LoadFromSQLServer : string * string * string * string * bool * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
Public Overridable 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

Nome e percorso del pacchetto da caricare.

bstrServerName
String

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

bstrServerUserName
String

Nome account utilizzato per accedere al server.

bstrServerPassword
String

Password dell'account.

bLoadNeutral
Boolean

true per caricare il pacchetto come thread neutro. false per caricare il pacchetto come apartment threaded.

pEvents
IDTSEvents100

Interfaccia IDTSEvents.

Restituisce

Pacchetto caricato.

Implementazioni

Attributi

Si applica a