Partager via


IDTSApplication100.SaveToDtsServer Method

Definition

Saves a package to the specified server.

public:
 void SaveToDtsServer(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackage100 ^ pPackage, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, System::String ^ bstrPackagePath, System::String ^ bstrServerName);
[System.Runtime.InteropServices.DispId(47)]
public void SaveToDtsServer (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 pPackage, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, string bstrPackagePath, string bstrServerName);
[<System.Runtime.InteropServices.DispId(47)>]
abstract member SaveToDtsServer : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackage100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * string * string -> unit
Public Sub SaveToDtsServer (pPackage As IDTSPackage100, pEvents As IDTSEvents100, bstrPackagePath As String, bstrServerName As String)

Parameters

pPackage
IDTSPackage100

The package to save.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

bstrPackagePath
String

The name to give the package when saved. You can preface the name with a path.

bstrServerName
String

The name of the server to save the package to.

Attributes

Applies to