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
)
參數
- doc
型別:System.Xml. . :: . .XmlDocument
The XmlNode that contains the information to be saved.
- infoEvents
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSInfoEvents
An object that implements the IDTSInfoEvents interface, through which the method can raise events to the package.
實作
IDTSComponentPersist. . :: . .SaveToXML(XmlDocument, IDTSInfoEvents)