Share via


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)
Available in Sandboxed Solutions: No

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