Delete(String) Method
The Delete method of the SPAlternateUrlCollection class deletes the specified alternate request URL from the collection.
Parameters
incomingUrl A string that contains the URL of the alternate request URL to delete.
Remarks
For changes to take effect when using the Delete method, you must call the Update method on the virtual server configuration properties; for example, virtual_Server.Config.Properties.Update()
. You must also reset Microsoft Internet Information Services by typing iisreset at the command line.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security