Método ExpressionNode.Serialize
Serializes the expression node to the specified XML Writer.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Sub Serialize ( _
xmlWriter As XmlWriter _
)
'Uso
Dim instance As ExpressionNode
Dim xmlWriter As XmlWriter
instance.Serialize(xmlWriter)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public void Serialize(
XmlWriter xmlWriter
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
void Serialize(
XmlWriter^ xmlWriter
)
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
member Serialize :
xmlWriter:XmlWriter -> unit
public function Serialize(
xmlWriter : XmlWriter
)
Parâmetros
- xmlWriter
Tipo: System.Xml.XmlWriter
An XmlWriter object value that specifies the XML writer used to serialize the expression node.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Exemplos
C#
System.Xml.XmlWriter xmlWriter;
string xml = ExpressionNode.SerializeNode(xmlWriter);