Share via


IDTSApplication100.SavePackage Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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
)

Parameters

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

See Also

Reference

IDTSApplication100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace