共用方式為


SavePackage 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

For more information, see ApplicationClass.

命名空間:  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
)