共用方式為


SPPersistedUpgradableObject.NeedsUpgrade property

取得或設定 Boolean 值,以指定物件是否需要升級。

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

Syntax

'宣告
Public Overridable Property NeedsUpgrade As Boolean
    Get
    Set
'用途
Dim instance As SPPersistedUpgradableObject
Dim value As Boolean

value = instance.NeedsUpgrade

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

Property value

Type: System.Boolean
true物件需要升級 ; 如果否則,請false。

Implements

IUpgradable.NeedsUpgrade

請參閱

參照

SPPersistedUpgradableObject class

SPPersistedUpgradableObject members

Microsoft.SharePoint.Administration namespace