Share via


ExpressionNode.Serialize Method

Serializes the expression node to the specified XML Writer.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Sub Serialize ( _
    xmlWriter As XmlWriter _
)
'Usage
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
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

C#

System.Xml.XmlWriter xmlWriter; 
string xml = ExpressionNode.SerializeNode(xmlWriter);

See Also

Reference

ExpressionNode Class

Microsoft.SqlServer.Management.Dmf Namespace