Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
 WebMoving Method

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
SPWebEventReceiver.WebMoving Method (Microsoft.SharePoint)
Synchronous Before event that occurs before an existing Web site has been renamed or moved to a different parent object.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Overridable Sub WebMoving ( _
    properties As SPWebEventProperties _
)
Visual Basic (Usage)
Dim instance As SPWebEventReceiver
Dim properties As SPWebEventProperties

instance.WebMoving(properties)
C#
public virtual void WebMoving (
    SPWebEventProperties properties
)

Parameters

properties

An SPWebEventProperties object that represents properties of the event handler.

The means for moving and renaming Web sites include the following:

  • Setting the ServerRelativeUrl of a Web site and calling the Update method.

  • Renaming—but not moving to a different parent object—the site in a Web authoring application that is compatible with Windows SharePoint Services, such as Microsoft Office SharePoint Designer 2007.

This class supports event cancellation and error messages.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker