Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Saves a package to an instance of SQL Server.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Public Overridable Sub SaveToSQLServer ( _
Package As IDTSPackage100, _
pEvents As IDTSEvents100, _
ServerName As String, _
ServerUserName As String, _
ServerPassword As String _
)
'Usage
Dim instance As ApplicationClass
Dim Package As IDTSPackage100
Dim pEvents As IDTSEvents100
Dim ServerName As String
Dim ServerUserName As String
Dim ServerPassword As String
instance.SaveToSQLServer(Package, pEvents, _
ServerName, ServerUserName, ServerPassword)
public virtual void SaveToSQLServer(
IDTSPackage100 Package,
IDTSEvents100 pEvents,
string ServerName,
string ServerUserName,
string ServerPassword
)
public:
virtual void SaveToSQLServer(
[InAttribute] IDTSPackage100^ Package,
[InAttribute] IDTSEvents100^ pEvents,
[InAttribute] String^ ServerName,
[InAttribute] String^ ServerUserName,
[InAttribute] String^ ServerPassword
)
abstract SaveToSQLServer :
Package:IDTSPackage100 *
pEvents:IDTSEvents100 *
ServerName:string *
ServerUserName:string *
ServerPassword:string -> unit
override SaveToSQLServer :
Package:IDTSPackage100 *
pEvents:IDTSEvents100 *
ServerName:string *
ServerUserName:string *
ServerPassword:string -> unit
public function SaveToSQLServer(
Package : IDTSPackage100,
pEvents : IDTSEvents100,
ServerName : String,
ServerUserName : String,
ServerPassword : String
)
Parameters
- Package
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The package to save.
- pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents object.
- ServerName
Type: System.String
The name of the instance of SQL Server to save the package to.
- ServerUserName
Type: System.String
The user name used to log on to the server.
- ServerPassword
Type: System.String
The password for the user account.
Implements
IDTSApplication100.SaveToSQLServer(IDTSPackage100, IDTSEvents100, String, String, String)