IDTSApplication100.SaveToDtsServer 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Saves a package to the specified server.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub SaveToDtsServer ( _
pPackage As IDTSPackage100, _
pEvents As IDTSEvents100, _
bstrPackagePath As String, _
bstrServerName As String _
)
'用途
Dim instance As IDTSApplication100
Dim pPackage As IDTSPackage100
Dim pEvents As IDTSEvents100
Dim bstrPackagePath As String
Dim bstrServerName As String
instance.SaveToDtsServer(pPackage, pEvents, _
bstrPackagePath, bstrServerName)
void SaveToDtsServer(
IDTSPackage100 pPackage,
IDTSEvents100 pEvents,
string bstrPackagePath,
string bstrServerName
)
void SaveToDtsServer(
[InAttribute] IDTSPackage100^ pPackage,
[InAttribute] IDTSEvents100^ pEvents,
[InAttribute] String^ bstrPackagePath,
[InAttribute] String^ bstrServerName
)
abstract SaveToDtsServer :
pPackage:IDTSPackage100 *
pEvents:IDTSEvents100 *
bstrPackagePath:string *
bstrServerName:string -> unit
function SaveToDtsServer(
pPackage : IDTSPackage100,
pEvents : IDTSEvents100,
bstrPackagePath : String,
bstrServerName : String
)
參數
- pPackage
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The package to save.
- pEvents
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents100 interface.
- bstrPackagePath
型別:System.String
The name to give the package when saved. You can preface the name with a path.
- bstrServerName
型別:System.String
The name of the server to save the package to.