SPPrefix Class

The SPPrefix class represents a specified relative URL that is used to determine whether Microsoft Windows SharePoint Services or Microsoft Internet Information Services (IIS) handles the request.

System.Object

   Microsoft.SharePoint.Administration.SPPrefix

Public Fields

The following table shows the public fields of the SPPrefix class and a brief description of each.

Name Description
MaxPrefixLength Indicates the maximum length in characters that can be used in a prefix.

Public Properties

The following table shows the public properties of the SPPrefix class, the data type of each property, and a brief description of each.

Name Data Type Description
Name String Gets the name of the prefix.
PrefixType Microsoft.SharePoint.Administration.SPPrefixType Gets the type of the prefix.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Administration

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security