Share via


SPVirtualServerConfig.Prefixes property

NOTE: This API is now obsolete.

Gets the collection of prefixes for URLs that are used on 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 Prefixes As SPPrefixCollection
    Get
'Usage
Dim instance As SPVirtualServerConfig
Dim value As SPPrefixCollection

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

Property value

Type: Microsoft.SharePoint.Administration.SPPrefixCollection
An SPPrefixCollection object that represents the prefixes.

See also

Reference

SPVirtualServerConfig class

SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace