Condividi tramite


SPManager.PerformConfigDatabaseUpgrade Method

Executes an upgrade of the configuration database in Microsoft SharePoint Foundation.

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

Syntax

'Declaration
Public Sub PerformConfigDatabaseUpgrade ( _
    databaseServer As String, _
    configDatabaseName As String _
)
'Usage
Dim instance As SPManager
Dim databaseServer As String
Dim configDatabaseName As String

instance.PerformConfigDatabaseUpgrade(databaseServer, _
    configDatabaseName)
public void PerformConfigDatabaseUpgrade(
    string databaseServer,
    string configDatabaseName
)

Parameters

  • databaseServer
    Type: System.String

    A string that specifies the database server.

  • configDatabaseName
    Type: System.String

    A string that specifies the database name.

Remarks

The PerformConfigDatabaseUpgrade method enables a database schema comparison in the upgrade.

See Also

Reference

SPManager Class

SPManager Members

Microsoft.SharePoint.Upgrade Namespace