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 使用自訂物件擴充封裝.