Share via


SPContentDatabaseExtension.PreDatabaseMigrate method

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

Syntax

'Declaration
Public MustOverride Sub PreDatabaseMigrate ( _
    sourceDatabase As SPDatabase, _
    destinationDatabase As SPContentDatabase, _
    partitionId As Guid, _
    migrationOptions As SPDatabaseMigrationOptions _
)
'Usage
Dim instance As SPContentDatabaseExtension
Dim sourceDatabase As SPDatabase
Dim destinationDatabase As SPContentDatabase
Dim partitionId As Guid
Dim migrationOptions As SPDatabaseMigrationOptions

instance.PreDatabaseMigrate(sourceDatabase, _
    destinationDatabase, partitionId, _
    migrationOptions)
public abstract void PreDatabaseMigrate(
    SPDatabase sourceDatabase,
    SPContentDatabase destinationDatabase,
    Guid partitionId,
    SPDatabaseMigrationOptions migrationOptions
)

Parameters

See also

Reference

SPContentDatabaseExtension class

SPContentDatabaseExtension members

Microsoft.SharePoint.Administration namespace