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)

'Declaration
Public ReadOnly Property Prefixes As SPPrefixCollection
	Get
'Usage
Dim instance As SPWebApplication
Dim value As SPPrefixCollection

value = instance.Prefixes

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: