SPPersistedUpgradableObject.NeedsUpgrade property
Gets or sets a Boolean value that specifies whether the object needs to be upgraded.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Property NeedsUpgrade As Boolean
Get
Set
'Usage
Dim instance As SPPersistedUpgradableObject
Dim value As Boolean
value = instance.NeedsUpgrade
instance.NeedsUpgrade = value
public virtual bool NeedsUpgrade { get; set; }
Type: System.Boolean
true if the object needs to be upgraded; otherwise, false.
SPPersistedUpgradableObject class