Compartir a través de


IDTSApplication100.SaveToSQLServer Method

Definition

Saves a package to an instance of SQL Server.

public:
 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);
[System.Runtime.InteropServices.DispId(12)]
public 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
Public Sub SaveToSQLServer (Package As IDTSPackage100, pEvents As IDTSEvents100, ServerName As String, ServerUserName As String, ServerPassword As String)

Parameters

Package
IDTSPackage100

The package to save.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

ServerName
String

The name of the instance of SQL Server to save the package to.

ServerUserName
String

The user name used to log on to the server.

ServerPassword
String

The password for the user account.

Attributes

Applies to