SfcSerializer.Deserialize Método (XmlReader, SfcObjectState)
Deserializes the file stream into an object. The specified SfcObjectState value is applied to the deserialized object. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function Deserialize ( _
xmlReader As XmlReader, _
state As SfcObjectState _
) As Object
'Uso
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
Parámetros
- xmlReader
Tipo: System.Xml.XmlReader
An XmlReader object that contains the file stream with the serialized document.
- state
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectState
An SfcObjectState value that specifies the state of the deserialized object.
Valor devuelto
Tipo: System.Object
The deserialized object.