Share via


IUpgrader.NeedsUpgrade property

Gets or sets a Boolean value that specifies whether the current object needs to be upgraded.

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

Syntax

'Declaration
Property NeedsUpgrade As Boolean
    Get
    Set
'Usage
Dim instance As IUpgrader
Dim value As Boolean

value = instance.NeedsUpgrade

instance.NeedsUpgrade = value
bool NeedsUpgrade { get; set; }

Property value

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

See also

Reference

IUpgrader interface

IUpgrader members

Microsoft.SharePoint.Upgrade namespace