Application::SaveToXml Method (String^, Package^, IDTSEvents^)
Saves the XML definition of a package to a file.
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Parameters
- fileName
-
Type:
System::String^
The name of the file to save.
- package
-
Type:
Microsoft.SqlServer.Dts.Runtime::Package^
The package object to save.
- events
-
Type:
Microsoft.SqlServer.Dts.Runtime::IDTSEvents^
An IDTSEvents object.
A package file normally has the extension, .dtsx.
If the file name specified in the fileName parameter does not exist, it will be created.
Show: