Partager via


SaveToXML méthode

Saves information to an XML document.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Sub SaveToXML ( _
    ByRef doc As XmlDocument, _
    node As XmlNode, _
    events As IDTSEvents _
)
'Utilisation
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
)

Paramètres

Notes

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 Extension de packages avec des objets personnalisés.