Partilhar via


SPItemEventProperties.InvalidateWeb Method

Invalidates the current SPWeb object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub InvalidateWeb
'Usage
Dim instance As SPItemEventProperties

instance.InvalidateWeb()
public void InvalidateWeb()

Remarks

This method is used to invalidate an outdated SPWeb object. The invalidation of an SPWeb object triggers the retrieval of a current object instance after the next request is made.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace