Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Saves the XML definition of a package to a file.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub SaveToXML ( _
FileName As String, _
pPersistObj As IDTSPersist100, _
pEvents As IDTSEvents100 _
)
'Usage
Dim instance As IDTSApplication100
Dim FileName As String
Dim pPersistObj As IDTSPersist100
Dim pEvents As IDTSEvents100
instance.SaveToXML(FileName, pPersistObj, _
pEvents)
void SaveToXML(
string FileName,
IDTSPersist100 pPersistObj,
IDTSEvents100 pEvents
)
void SaveToXML(
[InAttribute] String^ FileName,
[InAttribute] IDTSPersist100^ pPersistObj,
[InAttribute] IDTSEvents100^ pEvents
)
abstract SaveToXML :
FileName:string *
pPersistObj:IDTSPersist100 *
pEvents:IDTSEvents100 -> unit
function SaveToXML(
FileName : String,
pPersistObj : IDTSPersist100,
pEvents : IDTSEvents100
)
Parameters
- FileName
Type: System.String
The name of the file where to save the package.
- pPersistObj
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100
The persist object that handles the saving and loading of package.
- pEvents
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
An IDTSEvents object.