TopologySettings.ToXml Method (XmlWriter, TopologySettingsXmlOptions)
Serializes the topology settings to an XML document.
Namespace: Microsoft.Office.Server.Search.Administration.TopologyExport
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub ToXml ( _
xmlWriter As XmlWriter, _
options As TopologySettingsXmlOptions _
)
'Usage
Dim instance As TopologySettings
Dim xmlWriter As XmlWriter
Dim options As TopologySettingsXmlOptions
instance.ToXml(xmlWriter, options)
public void ToXml(
XmlWriter xmlWriter,
TopologySettingsXmlOptions options
)
Parameters
xmlWriter
Type: System.Xml.XmlWriterThe XmlWriter object that is used to write the topology settings to an XML document.
options
Type: Microsoft.Office.Server.Search.Administration.TopologyExport.TopologySettingsXmlOptionsA value from the TopologySettingsXmlOptions enumeration specifying how the topology settings should be serialized as XML.
See Also
Reference
Microsoft.Office.Server.Search.Administration.TopologyExport Namespace