Freigeben über


IDTSApplication100.SavePackage-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Saves a package to the file system.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SavePackage ( _
    bstrFileName As String, _
    pPackage As IDTSPackage100, _
    pEvents As IDTSEvents100 _
)
'Usage
Dim instance As IDTSApplication100 
Dim bstrFileName As String 
Dim pPackage As IDTSPackage100 
Dim pEvents As IDTSEvents100

instance.SavePackage(bstrFileName, pPackage, _
    pEvents)
void SavePackage(
    string bstrFileName,
    IDTSPackage100 pPackage,
    IDTSEvents100 pEvents
)
void SavePackage(
    [InAttribute] String^ bstrFileName, 
    [InAttribute] IDTSPackage100^ pPackage, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract SavePackage : 
        bstrFileName:string * 
        pPackage:IDTSPackage100 * 
        pEvents:IDTSEvents100 -> unit
function SavePackage(
    bstrFileName : String, 
    pPackage : IDTSPackage100, 
    pEvents : IDTSEvents100
)

Parameter

  • bstrFileName
    Typ: System.String
    The name of the file in which the package is saved.

Siehe auch

Verweis

IDTSApplication100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace