SPPersistedUpgradableObject.NeedsUpgrade 属性

获取或设置一个布尔值,指定对象是否需要升级。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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; }

属性值

类型:System.Boolean
true如果对象需要升级 ;否则为false。

实现

IUpgradable.NeedsUpgrade

另请参阅

引用

SPPersistedUpgradableObject 类

SPPersistedUpgradableObject 成员

Microsoft.SharePoint.Administration 命名空间