SavePackage 方法
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Sub SavePackage ( _
bstrFileName As String, _
pPackage As IDTSPackage100, _
pEvents As IDTSEvents100 _
)
'用途
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
)
參數
- bstrFileName
型別:System. . :: . .String
實作
IDTSApplication100. . :: . .SavePackage(String, IDTSPackage100, IDTSEvents100)