Dela via


EnumResult.ConvertToXmlDocument Method

Converts to XML document if possible. 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 Shared Function ConvertToXmlDocument ( _
    er As EnumResult _
) As XmlDocument
'Usage
Dim er As EnumResult
Dim returnValue As XmlDocument

returnValue = EnumResult.ConvertToXmlDocument(er)
public static XmlDocument ConvertToXmlDocument(
    EnumResult er
)
public:
static XmlDocument^ ConvertToXmlDocument(
    EnumResult^ er
)
static member ConvertToXmlDocument : 
        er:EnumResult -> XmlDocument 
public static function ConvertToXmlDocument(
    er : EnumResult
) : XmlDocument

Parameters

Return Value

Type: System.Xml.XmlDocument
The XML document to be converted.