Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

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.

Show:
© 2015 Microsoft