共用方式為


SPPersistedUpgradableObject.CanUpgrade Property

Gets a value that indicates whether the object can be upgraded.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overridable ReadOnly Property CanUpgrade As Boolean
    Get
'Usage
Dim instance As SPPersistedUpgradableObject
Dim value As Boolean

value = instance.CanUpgrade
public virtual bool CanUpgrade { get; }

Property Value

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

Implements

IUpgradable.CanUpgrade

See Also

Reference

SPPersistedUpgradableObject Class

SPPersistedUpgradableObject Members

Microsoft.SharePoint.Administration Namespace