Share via


IDTSPersist.SaveToXML Method

Saves information to an XML document.

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

Syntax

'Declaration
Sub SaveToXML ( _
    ByRef doc As XmlDocument, _
    node As XmlNode, _
    events As IDTSEvents _
)
'Usage
Dim instance As IDTSPersist 
Dim doc As XmlDocument 
Dim node As XmlNode 
Dim events As IDTSEvents

instance.SaveToXML(doc, node, events)
void SaveToXML(
    ref XmlDocument doc,
    XmlNode node,
    IDTSEvents events
)
void SaveToXML(
    XmlDocument^% doc, 
    XmlNode^ node, 
    IDTSEvents^ events
)
abstract SaveToXML : 
        doc:XmlDocument byref * 
        node:XmlNode * 
        events:IDTSEvents -> unit
function SaveToXML(
    doc : XmlDocument, 
    node : XmlNode, 
    events : IDTSEvents
)

Parameters

  • node
    Type: System.Xml.XmlNode
    The node in the above document to which to save the information.

Remarks

This method is available because you inherit this interface and override this method when you are creating custom objects. This method is intended for inheritance only and should not be called from code for other purposes. If you want to save a package, use one of the following methods:

If you are creating a custom object and need information about how to write your own method for saving data, see Extending Packages with Custom Objects.

See Also

Reference

IDTSPersist Interface

Microsoft.SqlServer.Dts.Runtime Namespace