IDTSPersist.SaveToXML(XmlDocument, XmlNode, IDTSEvents) IDTSPersist.SaveToXML(XmlDocument, XmlNode, IDTSEvents) IDTSPersist.SaveToXML(XmlDocument, XmlNode, IDTSEvents) Method

Definition

Saves information to an XML document.

public:
 void SaveToXML(System::Xml::XmlDocument ^ % doc, System::Xml::XmlNode ^ node, Microsoft::SqlServer::Dts::Runtime::IDTSEvents ^ events);
public void SaveToXML (ref System.Xml.XmlDocument doc, System.Xml.XmlNode node, Microsoft.SqlServer.Dts.Runtime.IDTSEvents events);
Public Sub SaveToXML (ByRef doc As XmlDocument, node As XmlNode, events As IDTSEvents)

Parameters

doc

The XML document to which to save the information.

node
XmlNode XmlNode 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.

Applies to