共用方式為


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