共用方式為


ApplicationClass.SaveToXML(String, IDTSPersist100, IDTSEvents100) Method

Definition

Saves the XML definition of a package to a file

public:
 virtual void SaveToXML(System::String ^ FileName, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100 ^ pPersistObj, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::SaveToXML;
public:
 virtual void SaveToXML(System::String ^ FileName, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100 ^ pPersistObj, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::SaveToXML;
[System.Runtime.InteropServices.DispId(10)]
public virtual void SaveToXML (string FileName, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100 pPersistObj, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(10)>]
abstract member SaveToXML : string * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> unit
override this.SaveToXML : string * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 -> unit
Public Overridable Sub SaveToXML (FileName As String, pPersistObj As IDTSPersist100, pEvents As IDTSEvents100)

Parameters

FileName
String

The name of the file to save.

pPersistObj
IDTSPersist100

The package object to save.

pEvents
IDTSEvents100

An IDTSEvents object.

Implements

Attributes

Applies to