共用方式為


SaveToXML 方法

Saves the definition of the task, in XML format, into the XML definition of the package.

命名空間:  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
組件:  Microsoft.SqlServer.DataProfilingTask (在 Microsoft.SqlServer.DataProfilingTask.dll 中)

語法

'宣告
Public Sub SaveToXML ( _
    doc As XmlDocument, _
    infoEvents As IDTSInfoEvents _
)
'用途
Dim instance As DataProfilingTask
Dim doc As XmlDocument
Dim infoEvents As IDTSInfoEvents

instance.SaveToXML(doc, infoEvents)
public void SaveToXML(
    XmlDocument doc,
    IDTSInfoEvents infoEvents
)
public:
virtual void SaveToXML(
    XmlDocument^ doc, 
    IDTSInfoEvents^ infoEvents
) sealed
abstract SaveToXML : 
        doc:XmlDocument * 
        infoEvents:IDTSInfoEvents -> unit 
override SaveToXML : 
        doc:XmlDocument * 
        infoEvents:IDTSInfoEvents -> unit 
public final function SaveToXML(
    doc : XmlDocument, 
    infoEvents : IDTSInfoEvents
)

參數

實作

IDTSComponentPersist. . :: . .SaveToXML(XmlDocument, IDTSInfoEvents)

備註

For more information about the inherited SaveToXML method, see SaveToXML.