IDTSPersist.SaveToXML(XmlDocument, XmlNode, IDTSEvents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.