Partager via


SPPrefixType Enumeration

Specifies which part of a URL namespace that is used in this Web application belongs to Windows SharePoint Services.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Enumeration SPPrefixType

Dim instance As SPPrefixType
public enum SPPrefixType

Members

Member name Description
ExplicitInclusion Specifies that a path-based site collection can be created at this specific URL path.
WildcardInclusion Specifies that multiple path-based site collections can be created under this URL path.
Exclusion Obsolete. This enumeration member is obsolete in Windows SharePoint Services 3.0 because it is no longer necessary to tell Windows SharePoint Services which URL paths should not be handled by Windows SharePoint Services. When the IIS worker process that serves the Web application is started, it scans the IIS home directory of the Web application looking for files, folders, and virtual directories. Those that it finds are automatically excluded, and are not listed in the SPPrefixCollection object associated with the Web application. This member generates a compiler warning, no operation is performed, and no exception is thrown.

Remarks

When a request to this Web application is received by the Web server, Windows SharePoint Services will look at the URL path of the request to determine whether the request should be handled by Windows SharePoint Services or by IIS. Inclusions specify what URL paths are handled by Windows SharePoint Services. 

See Also

Reference

Microsoft.SharePoint.Administration Namespace