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.
Removes all URLs from the collection, leaving the collection in an invalid state.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub Clear
'Usage
Dim instance As SPAlternateUrlCollection
instance.Clear()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void Clear()
Implements
Remarks
After implementing this method, you must add a new URL to the collection before calling the Update method.
See Also
Reference
SPAlternateUrlCollection Class