Condividi tramite


Metodo Serialize

Serializes the expression node to the specified XML Writer.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

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

Parametri

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

C#

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