共用方式為


IDTSApplication100.SavePackage(String, IDTSPackage100, IDTSEvents100) Method

Definition

Saves a package to the file system.

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

Parameters

bstrFileName
String

The name of the file in which the package is saved.

pPackage
IDTSPackage100

The package to save.

pEvents
IDTSEvents100

An IDTSEvents100 interface.

Attributes

Applies to