|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Asynchronous After event that occurs after an existing Web site is completely deleted.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Web site deletion events occur in the following cases:
The Web site is deleted through the user interface.
The folder that contains a Web site is deleted in an application that is compatible with Windows SharePoint Services (such as Microsoft Office SharePoint Designer 2007) through remote procedure call protocol (RPC).
The folder that contains a Web site is deleted through Distributed Authoring and Versioning (DAV).
Web site deletion events occur only for the first Web site in a chain of sites. For example, if a Web site at http://TopSite/Site, which has the subwebs http://TopSite/Site/Subsite1 and http://TopSite/Site/Subsite2, is deleted in Office SharePoint Designer 2007, only one deletion event occurs, namely, for the http://TopSite/Site root Web site.