Método ApplicationClass.SaveToDtsServer
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Saves a package to the file system
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
Public Overridable Sub SaveToDtsServer ( _
pPackage As IDTSPackage100, _
pEvents As IDTSEvents100, _
bstrPackagePath As String, _
bstrServerName As String _
)
'Uso
Dim instance As ApplicationClass
Dim pPackage As IDTSPackage100
Dim pEvents As IDTSEvents100
Dim bstrPackagePath As String
Dim bstrServerName As String
instance.SaveToDtsServer(pPackage, pEvents, _
bstrPackagePath, bstrServerName)
public virtual void SaveToDtsServer(
IDTSPackage100 pPackage,
IDTSEvents100 pEvents,
string bstrPackagePath,
string bstrServerName
)
public:
virtual 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
override SaveToDtsServer :
pPackage:IDTSPackage100 *
pEvents:IDTSEvents100 *
bstrPackagePath:string *
bstrServerName:string -> unit
public function SaveToDtsServer(
pPackage : IDTSPackage100,
pEvents : IDTSEvents100,
bstrPackagePath : String,
bstrServerName : String
)
Parâmetros
- pPackage
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100
The package to save.
- pEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents object.
- bstrPackagePath
Tipo: System.String
The name to give the package when saved.
- bstrServerName
Tipo: System.String
The name of the server to save the package to.
Implementa
IDTSApplication100.SaveToDtsServer(IDTSPackage100, IDTSEvents100, String, String)