SPWebEventReceiver.SiteDeleting Method
SharePoint 2010
Occurs when a site collection is being deleted.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Parameters
- properties
- Type: Microsoft.SharePoint.SPWebEventProperties
An SPWebEventProperties object that represents properties of the event handler.
| Exception | Condition |
|---|---|
| ArgumentNullException | properties is null. |