ApplicationClass.SaveToSQLServerAs Método

Definição

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

public:
 virtual void SaveToSQLServerAs(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ pPackage, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::SaveToSQLServerAs;
public:
 virtual void SaveToSQLServerAs(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ pPackage, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::SaveToSQLServerAs;
[System.Runtime.InteropServices.DispId(13)]
public virtual void SaveToSQLServerAs (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 pPackage, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(13)>]
abstract member SaveToSQLServerAs : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string * string -> unit
override this.SaveToSQLServerAs : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string * string -> unit
Public Overridable Sub SaveToSQLServerAs (pPackage As IDTSPackage100, pEvents As IDTSEvents100, bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String)

Parâmetros

pPackage
IDTSPackage100

O pacote a ser salvo.

pEvents
IDTSEvents100

Um objeto IDTSEvents.

bstrPackagePath
String

O caminho e o novo nome a ser atribuído ao pacote.

bstrServerName
String

O nome da instância do SQL Server.

bstrServerUserName
String

O nome de conta usada para fazer logon na instância do SQL Server.

bstrServerPassword
String

A senha da conta do usuário.

Implementações

Atributos

Aplica-se a