Метод SaveToXML
Saves information to an XML document.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Sub SaveToXML ( _
ByRef doc As XmlDocument, _
node As XmlNode, _
events As IDTSEvents _
)
'Применение
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
)
Параметры
- doc
Тип System.Xml. . :: . .XmlDocument%
The XML document to which to save the information.
- node
Тип System.Xml. . :: . .XmlNode
The node in the above document to which to save the information.
- events
Тип 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 Расширение пакетов с помощью пользовательских объектов.
См. также