Share 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)

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