Delen via


ObjectReference.Deserialize Method (String, Boolean)

Converts an XML fragment to the ObjectReference object specified by the xmlFragment and xmlFragmentIsComplete parameters.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Shared Function Deserialize ( _
    xmlFragment As String, _
    xmlFragmentIsComplete As Boolean _
) As ObjectReference
'Usage
Dim xmlFragment As String
Dim xmlFragmentIsComplete As Boolean
Dim returnValue As ObjectReference

returnValue = ObjectReference.Deserialize(xmlFragment, _
    xmlFragmentIsComplete)
public static ObjectReference Deserialize(
    string xmlFragment,
    bool xmlFragmentIsComplete
)
public:
static ObjectReference^ Deserialize(
    String^ xmlFragment, 
    bool xmlFragmentIsComplete
)
static member Deserialize : 
        xmlFragment:string * 
        xmlFragmentIsComplete:bool -> ObjectReference 
public static function Deserialize(
    xmlFragment : String, 
    xmlFragmentIsComplete : boolean
) : ObjectReference

Parameters

  • xmlFragment
    Type: System.String
    The xml fragment to deserialize.
  • xmlFragmentIsComplete
    Type: System.Boolean
    true if the xml fragment describes an object completely; otherwise false.