SPWebApplication.Prefixes Property

Gets the set of paths at which sites may be created.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No


Public ReadOnly Property Prefixes As SPPrefixCollection
Dim instance As SPWebApplication
Dim value As SPPrefixCollection

value = instance.Prefixes
public SPPrefixCollection Prefixes { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPPrefixCollection
An SPPrefixCollection object that represents the set of paths at which sites can be created.


Note that it may not always be possible to create sites in all of the SPPrefix objects that are contained in the collection. For example, if there is a site created under an explicit inclusion, a second site cannot be created.

See Also


SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace