Partilhar 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)
Available in Sandboxed Solutions: No

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