Partager 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

<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property AlternateUrls As SPAlternateUrlCollection
    Get

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