Méthode SaveToXML
Saves information to an XML document.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en 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
- doc
Type : System.Xml. . :: . .XmlDocument%
The XML document to which to save the information.
- node
Type : System.Xml. . :: . .XmlNode
The node in the above document to which to save the information.
- events
Type : Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSEvents
An IDTSEvents interface.
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.