共用方式為


Utils.Serialize 方法

Serializes the specified object and writes the XML document to a file using the specified XmlWriter.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Shared Sub Serialize ( _
    xmlWriter As XmlWriter, _
    obj As MajorObject, _
    writeReadOnlyProperties As Boolean _
)
'用途
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
)

參數

  • writeReadOnlyProperties
    型別:System.Boolean
    true to write read only properties; otherwise, false.

請參閱

參考

Utils 類別

Microsoft.AnalysisServices 命名空間