SaveToXML Method
Collapse the table of content
Expand the table of content

IDTSPersist.SaveToXML Method (XmlDocument, XmlNode, IDTSEvents)


Saves information to an XML document.

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

void SaveToXML(
	ref XmlDocument doc,
	XmlNode node,
	IDTSEvents events


Type: System.Xml.XmlDocument

The XML document to which to save the information.

Type: System.Xml.XmlNode

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

Type: Microsoft.SqlServer.Dts.Runtime.IDTSEvents

An IDTSEvents interface.

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.

Return to top
© 2016 Microsoft