Utils.Serialize(XmlWriter, MajorObject, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified object and writes the XML document to an output using the specified XmlWriter.
public static void Serialize (System.Xml.XmlWriter xmlWriter, Microsoft.AnalysisServices.MajorObject obj, bool writeReadOnlyProperties);
static member Serialize : System.Xml.XmlWriter * Microsoft.AnalysisServices.MajorObject * bool -> unit
Public Shared Sub Serialize (xmlWriter As XmlWriter, obj As MajorObject, writeReadOnlyProperties As Boolean)
Parameters
- xmlWriter
- XmlWriter
The XmlWriter used to write the XML document.
- obj
- MajorObject
The Object to serialize.
- writeReadOnlyProperties
- Boolean
true to write read only properties; otherwise, false.