Share via


ApplicationClass.SavePackage Method

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

Saves the package.

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

Syntax

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

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

Parameters

Implements

IDTSApplication100.SavePackage(String, IDTSPackage100, IDTSEvents100)

See Also

Reference

ApplicationClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace