Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- pPackage
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The package to save.
- pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents100 interface.