SPGlobalAdmin.UpgradeConfigDB 方法 (Boolean)

请注意:此 API 现在已过时。

在Windows SharePoint Services 2.0UpgradeConfigDB方法升级配置数据库,并保持向后兼容性。

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

语法

声明
<ObsoleteAttribute("UpgradeConfigDB() is a deprecated method")> _
Public Sub UpgradeConfigDB ( _
    bForceUpgrade As Boolean _
)
用法
Dim instance As SPGlobalAdmin
Dim bForceUpgrade As Boolean

instance.UpgradeConfigDB(bForceUpgrade)
[ObsoleteAttribute("UpgradeConfigDB() is a deprecated method")]
public void UpgradeConfigDB(
    bool bForceUpgrade
)

参数

  • bForceUpgrade
    类型:System.Boolean

    true强制升级的数据库 ;否则为false。

另请参阅

引用

SPGlobalAdmin 类

SPGlobalAdmin 成员

UpgradeConfigDB 重载

Microsoft.SharePoint.Administration 命名空间