IDTSApplication100.SavePackage 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Saves a package to the file system.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub SavePackage ( _
bstrFileName As String, _
pPackage As IDTSPackage100, _
pEvents As IDTSEvents100 _
)
'用途
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
)
參數
- bstrFileName
型別:System.String
The name of the file in which the package is saved.
- pPackage
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The package to save.
- pEvents
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents100 interface.