IDTSApplication100.SaveToSQLServer Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Sauvegarde un package dans une instance de 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)
Paramètres
- Package
- IDTSPackage100
Le colis à sauver.
- pEvents
- IDTSEvents100
Interface IDTSEvents100.
- ServerName
- String
Le nom de l’instance de SQL Server pour enregistrer le paquet.
- ServerUserName
- String
Le nom d’utilisateur utilisé pour se connecter au serveur.
- ServerPassword
- String
Mot de passe du compte d’utilisateur.
- Attributs