SPContentDatabase.Upgrade method (Boolean)

Upgrades the content database from a previous release to the current release, with the option of upgrading all its children in the upgrade hierarchy.

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

Syntax

'Declaration
Public Overrides Sub Upgrade ( _
    recursively As Boolean _
)
'Usage
Dim instance As SPContentDatabase
Dim recursively As Boolean

instance.Upgrade(recursively)
public override void Upgrade(
    bool recursively
)

Parameters

  • recursively
    Type: System.Boolean

    true to include children in the upgrade; otherwise, false. The default value is false.

Implements

IUpgradable.Upgrade(Boolean)

See also

Reference

SPContentDatabase class

SPContentDatabase members

Upgrade overload

Microsoft.SharePoint.Administration namespace