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)

Syntax

'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; }

Property value

Type: System.Boolean
true if the object needs to be upgraded; otherwise, false.

Implements

IUpgradable.NeedsUpgrade

See also

Reference

SPPersistedUpgradableObject class

SPPersistedUpgradableObject members

Microsoft.SharePoint.Administration namespace