ApplicationClass.SaveToSQLServer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将包保存到 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)
参数
- Package
- IDTSPackage100
要保存的包。
- pEvents
- IDTSEvents100
IDTSEvents 对象。
- ServerName
- String
要将包保存到的 SQL Server 实例的名称。
- ServerUserName
- String
用于登录到服务器的用户名。
- ServerPassword
- String
用户帐户的密码。
实现
- 属性