共用方式為


SPGlobalAdmin.UpgradeConfigDB Method (Boolean)

NOTE: This API is now obsolete.

In Windows SharePoint Services 2.0 the UpgradeConfigDB method upgraded the configuration database, and is maintained for backward compatibility.

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

Syntax

'Declaration
<ObsoleteAttribute("UpgradeConfigDB() is a deprecated method")> _
Public Sub UpgradeConfigDB ( _
    bForceUpgrade As Boolean _
)
'Usage
Dim instance As SPGlobalAdmin
Dim bForceUpgrade As Boolean

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

Parameters

  • bForceUpgrade
    Type: System.Boolean

    true to force upgrade of the database; otherwise, false.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

UpgradeConfigDB Overload

Microsoft.SharePoint.Administration Namespace