SaveToSQLServer 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

For more information, see ApplicationClass.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Sub SaveToSQLServer ( _
    Package As IDTSPackage100, _
    pEvents As IDTSEvents100, _
    ServerName As String, _
    ServerUserName As String, _
    ServerPassword As String _
)
用法
Dim instance As IDTSApplication100
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)
void SaveToSQLServer(
    IDTSPackage100 Package,
    IDTSEvents100 pEvents,
    string ServerName,
    string ServerUserName,
    string ServerPassword
)
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 
function SaveToSQLServer(
    Package : IDTSPackage100, 
    pEvents : IDTSEvents100, 
    ServerName : String, 
    ServerUserName : String, 
    ServerPassword : String
)