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
- destinationDatabase
Type: Microsoft.SharePoint.Administration.SPContentDatabase
- serviceType
Type: Microsoft.SharePoint.Administration.ServiceExtensionType
- partitionId
Type: System.Guid
- migrationOptions
Type: Microsoft.SharePoint.Administration.SPDatabaseMigrationOptions