Share via


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)
Available in Sandboxed Solutions: No

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