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);
abstract member SaveToXML : XmlDocument * System.Xml.XmlNode * Microsoft.SqlServer.Dts.Runtime.IDTSEvents -> unit
Public Sub SaveToXML (ByRef doc As XmlDocument, node As XmlNode, events As IDTSEvents)

Parameters

doc
XmlDocument

The XML document to which to save the information.

node
XmlNode

The node in the above document to which to save the information.

events
IDTSEvents

An IDTSEvents interface.

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