Share via


SPVirtualServerConfig.AlternateUrls property

NOTE: This API is now obsolete.

Gets the collection of alternate request URLs for the virtual server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property AlternateUrls As SPAlternateUrlCollection
    Get
'Usage
Dim instance As SPVirtualServerConfig
Dim value As SPAlternateUrlCollection

value = instance.AlternateUrls
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPAlternateUrlCollection AlternateUrls { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPAlternateUrlCollection
An [Microsoft.SharePoint.Administration.SPAlternateUrlCollection] object that represents the URLs.

See also

Reference

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace