다음을 통해 공유


ApplicationClass.SaveToSQLServer 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Saves a package to an instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리:  Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)

구문

‘선언
Public Overridable Sub SaveToSQLServer ( _
    Package As IDTSPackage100, _
    pEvents As IDTSEvents100, _
    ServerName As String, _
    ServerUserName As String, _
    ServerPassword As String _
)
‘사용 방법
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
)

매개 변수

  • ServerName
    유형: System.String
    The name of the instance of SQL Server to save the package to.
  • ServerUserName
    유형: System.String
    The user name used to log on to the server.
  • ServerPassword
    유형: System.String
    The password for the user account.

구현

IDTSApplication100.SaveToSQLServer(IDTSPackage100, IDTSEvents100, String, String, String)

참고 항목

참조

ApplicationClass 클래스

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스