Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serializes the specified object and writes the XML document to a file using the specified XmlWriter.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Shared Sub Serialize ( _
xmlWriter As XmlWriter, _
obj As MajorObject, _
writeReadOnlyProperties As Boolean _
)
'Usage
Dim xmlWriter As XmlWriter
Dim obj As MajorObject
Dim writeReadOnlyProperties As Boolean
Utils.Serialize(xmlWriter, obj, writeReadOnlyProperties)
public static void Serialize(
XmlWriter xmlWriter,
MajorObject obj,
bool writeReadOnlyProperties
)
public:
static void Serialize(
XmlWriter^ xmlWriter,
MajorObject^ obj,
bool writeReadOnlyProperties
)
static member Serialize :
xmlWriter:XmlWriter *
obj:MajorObject *
writeReadOnlyProperties:bool -> unit
public static function Serialize(
xmlWriter : XmlWriter,
obj : MajorObject,
writeReadOnlyProperties : boolean
)
Parameters
- xmlWriter
Type: System.Xml.XmlWriter
The XmlWriter used to write the XML document.
- obj
Type: Microsoft.AnalysisServices.MajorObject
The Object to serialize.
- writeReadOnlyProperties
Type: System.Boolean
true to write read only properties; otherwise, false.