Partilhar via


SPVirtualServerConfig.ToXmlString Method

NOTE: This API is now obsolete.

Returns the configuration settings for the virtual server as an XML string.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("This method is obsolete.  Please use properties directly.",  _
    True)> _
Public Function ToXmlString As String
'Usage
Dim instance As SPVirtualServerConfig
Dim returnValue As String

returnValue = instance.ToXmlString()
[ObsoleteAttribute("This method is obsolete.  Please use properties directly.", 
    true)]
public string ToXmlString()

Return Value

Type: System.String
A string that contains the configuration settings as an XML string.

See Also

Reference

SPVirtualServerConfig Class

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace