ApplicationClass.SaveToSQLServerAs 方法

定义

使用新名称将包保存到 SQL Server 实例。

public:
 virtual void SaveToSQLServerAs(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ pPackage, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::SaveToSQLServerAs;
public:
 virtual void SaveToSQLServerAs(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ pPackage, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::SaveToSQLServerAs;
[System.Runtime.InteropServices.DispId(13)]
public virtual void SaveToSQLServerAs (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 pPackage, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(13)>]
abstract member SaveToSQLServerAs : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string * string -> unit
override this.SaveToSQLServerAs : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string * string * string -> unit
Public Overridable Sub SaveToSQLServerAs (pPackage As IDTSPackage100, pEvents As IDTSEvents100, bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String)

参数

pPackage
IDTSPackage100

要保存的包。

pEvents
IDTSEvents100

IDTSEvents 对象。

bstrPackagePath
String

要分配给包的路径和新名称。

bstrServerName
String

SQL Server 实例的名称。

bstrServerUserName
String

用于登录到 SQL Server 实例的帐户的名称。

bstrServerPassword
String

用户帐户的密码。

实现

属性

适用于