SPPersistedUpgradableObject.Invalidate method

Invalidates computed property values.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Sub Invalidate
'Usage
Dim instance As SPPersistedUpgradableObject

instance.Invalidate()
public virtual void Invalidate()

Implements

IUpgradable.Invalidate()

Remarks

The values of the CanUpgrade and NeedsUpgrade properties are reset and will be computed on the next access.

See also

Reference

SPPersistedUpgradableObject class

SPPersistedUpgradableObject members

Microsoft.SharePoint.Administration namespace

Invalidate()