共用方式為


IUpgrader.CanUpgrade Property

Gets a Boolean value that indicates whether upgrade can be performed.

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

Syntax

'Declaration
ReadOnly Property CanUpgrade As Boolean
    Get
'Usage
Dim instance As IUpgrader
Dim value As Boolean

value = instance.CanUpgrade
bool CanUpgrade { get; }

Property Value

Type: System.Boolean
true if upgrade can be performed; otherwise, false.

See Also

Reference

IUpgrader Interface

IUpgrader Members

Microsoft.SharePoint.Upgrade Namespace