Share via


IDTSPackagePersist100.SavePackageToXML Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Saves the package to an XML format.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SavePackageToXML ( _
    <OutAttribute> ByRef pvDestination As Object, _
    vbReturnDOM As Boolean, _
    pEvents As IDTSEvents100 _
)
'Usage
Dim instance As IDTSPackagePersist100 
Dim pvDestination As Object 
Dim vbReturnDOM As Boolean 
Dim pEvents As IDTSEvents100

instance.SavePackageToXML(pvDestination, _
    vbReturnDOM, pEvents)
void SavePackageToXML(
    out Object pvDestination,
    bool vbReturnDOM,
    IDTSEvents100 pEvents
)
void SavePackageToXML(
    [OutAttribute] Object^% pvDestination, 
    [InAttribute] bool vbReturnDOM, 
    [InAttribute] IDTSEvents100^ pEvents
)
abstract SavePackageToXML : 
        pvDestination:Object byref * 
        vbReturnDOM:bool * 
        pEvents:IDTSEvents100 -> unit
function SavePackageToXML(
    pvDestination : Object, 
    vbReturnDOM : boolean, 
    pEvents : IDTSEvents100
)

Parameters

  • pvDestination
    Type: System.Object%
    The destination of the package.
  • vbReturnDOM
    Type: System.Boolean
    true to return DOM; otherwise, false.

See Also

Reference

IDTSPackagePersist100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace