Partager via


ApplicationClass.SaveToSQLServer Méthode

Définition

Enregistre un package dans une instance de 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)

Paramètres

Package
IDTSPackage100

Package à enregistrer.

pEvents
IDTSEvents100

Objet IDTSEvents.

ServerName
String

Nom de l'instance de SQL Server dans laquelle enregistrer le package.

ServerUserName
String

Nom d'utilisateur utilisé pour se connecter au serveur.

ServerPassword
String

Mot de passe du compte d’utilisateur.

Implémente

Attributs

S’applique à