Compartilhar via


IUpgradable.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
Property NeedsUpgrade As Boolean
    Get
    Set
'Usage
Dim instance As IUpgradable
Dim value As Boolean

value = instance.NeedsUpgrade

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

Property Value

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

See Also

Reference

IUpgradable Interface

IUpgradable Members

Microsoft.SharePoint.Administration Namespace