Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified prefix from the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Delete ( _
strPrefix As String _
)
'Usage
Dim instance As SPPrefixCollection
Dim strPrefix As String
instance.Delete(strPrefix)
public void Delete(
string strPrefix
)
Parameters
strPrefix
Type: System.StringA string that contains the prefix. This is a server-relative URL path.
Remarks
In a hostheader prefix collection, the explicit root inclusion must not be removed. If it is, an ArgumentOutOfRangeException will be thrown.