Linguaggio

ApplicationClass.LoadFromSQLServer Metodo

Definizione

Carica un pacchetto da SQL Server specificando il nome del server, il nome utente e la 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

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

È vero che il carico del pacco come filettatura neutra. Falso per caricare il pacco come thread dell'appartamento.

pEvents
IDTSEvents100

Un'interfaccia IDTSEvents.

Valori restituiti

Il pacco che è stato caricato.

Implementazioni

Attributi

Si applica a