Share via


Delete(Int32) Method

The Delete method of the SPAlternateUrlCollection class deletes the alternate request URL at the specified index in the collection.

Parameters

index   A 32-bit integer that specifies the index.

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