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
- sourceDatabase
Type: Microsoft.SharePoint.Administration.SPDatabase
- destinationDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabase
- partitionId
Type: System.Guid
- migrationOptions
Type: Microsoft.SharePoint.Administration.SPDatabaseMigrationOptions
See also
Reference
SPContentDatabaseExtension class