Utils.Serialize Method (XmlWriter, MajorObject, Boolean)

 

Applies To: SQL Server 2016 Preview

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

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 Shared Sub Serialize (
    xmlWriter As XmlWriter,
    obj As MajorObject,
    writeReadOnlyProperties As Boolean
)

Parameters

  • writeReadOnlyProperties
    Type: System.Boolean

    true to write read only properties; otherwise, false.

See Also

Utils Class
Microsoft.AnalysisServices Namespace

Return to top