Partilhar via


ApplicationClass.SaveToSQLServer Método

Definição

Salva um pacote em uma instância do SQL Server.

public:
 virtual void SaveToSQLServer(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ Package, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ ServerName, System::String ^ ServerUserName, System::String ^ ServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::SaveToSQLServer;
public:
 virtual void SaveToSQLServer(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ Package, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ ServerName, System::String ^ ServerUserName, System::String ^ ServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::SaveToSQLServer;
[System.Runtime.InteropServices.DispId(12)]
public virtual void SaveToSQLServer (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 Package, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, string ServerName, string ServerUserName, string ServerPassword);
[<System.Runtime.InteropServices.DispId(12)>]
abstract member SaveToSQLServer : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string -> unit
override this.SaveToSQLServer : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string -> unit
Public Overridable Sub SaveToSQLServer (Package As IDTSPackage100, pEvents As IDTSEvents100, ServerName As String, ServerUserName As String, ServerPassword As String)

Parâmetros

Package
IDTSPackage100

O pacote a ser salvo.

pEvents
IDTSEvents100

Um objeto IDTSEvents.

ServerName
String

O nome da instância do SQL Server onde salvar o pacote.

ServerUserName
String

O nome de usuário usado para fazer logon no servidor.

ServerPassword
String

A senha para a conta de usuário.

Implementações

Atributos

Aplica-se a