Share via


SPDatabase.Migrate method

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

Syntax

'Declaration
Public Overridable Sub Migrate ( _
    destinationDatabase As SPContentDatabase, _
    serviceType As ServiceExtensionType, _
    partitionId As Guid, _
    migrationOptions As SPDatabaseMigrationOptions _
)
'Usage
Dim instance As SPDatabase
Dim destinationDatabase As SPContentDatabase
Dim serviceType As ServiceExtensionType
Dim partitionId As Guid
Dim migrationOptions As SPDatabaseMigrationOptions

instance.Migrate(destinationDatabase, _
    serviceType, partitionId, migrationOptions)
public virtual void Migrate(
    SPContentDatabase destinationDatabase,
    ServiceExtensionType serviceType,
    Guid partitionId,
    SPDatabaseMigrationOptions migrationOptions
)

Parameters

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace