Synchronous Before event that occurs before an existing Web site has been renamed or moved to a different parent object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public Overridable Sub WebMoving ( _ properties As SPWebEventProperties _ ) 'Usage Dim instance As SPWebEventReceiver Dim properties As SPWebEventProperties instance.WebMoving(properties)
The means for moving and renaming Web sites include the following:
Renaming—but not moving to a different parent object—the site in a Web authoring application that is compatible with SharePoint Foundation, such as SharePoint Designer.
This method supports event cancellation and error messages.