SfcSerializer.Deserialize Method (XmlReader, SfcObjectState)
Deserializes the file stream into an object. The specified SfcObjectState value is applied to the deserialized object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Function Deserialize ( _
xmlReader As XmlReader, _
state As SfcObjectState _
) As Object
'Usage
Dim instance As SfcSerializer
Dim xmlReader As XmlReader
Dim state As SfcObjectState
Dim returnValue As Object
returnValue = instance.Deserialize(xmlReader, _
state)
public Object Deserialize(
XmlReader xmlReader,
SfcObjectState state
)
public:
Object^ Deserialize(
XmlReader^ xmlReader,
SfcObjectState state
)
member Deserialize :
xmlReader:XmlReader *
state:SfcObjectState -> Object
public function Deserialize(
xmlReader : XmlReader,
state : SfcObjectState
) : Object
Parameters
- xmlReader
Type: System.Xml.XmlReader
An XmlReader object that contains the file stream with the serialized document.
- state
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the deserialized object.
Return Value
Type: System.Object
The deserialized object.