SPContentDatabase.Move method (SPContentDatabase, List<SPSite>, Dictionary<SPSite, String>)

Moves the specified sites from this content database to the specified content database.

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

Syntax

'Declaration
Public Sub Move ( _
    destinationDb As SPContentDatabase, _
    sitesToMove As List(Of SPSite), _
    <OutAttribute> ByRef failedSites As Dictionary(Of SPSite, String) _
)
'Usage
Dim instance As SPContentDatabase
Dim destinationDb As SPContentDatabase
Dim sitesToMove As List(Of SPSite)
Dim failedSites As Dictionary(Of SPSite, String)

instance.Move(destinationDb, sitesToMove, _
    failedSites)
public void Move(
    SPContentDatabase destinationDb,
    List<SPSite> sitesToMove,
    out Dictionary<SPSite, string> failedSites
)

Parameters

Remarks

This method calls the Move(SPContentDatabase, List<SPSite>, Dictionary<String, String>, Dictionary<SPSite, String>) with null as the third parameter method to move the specified site collection from this content database to the specified destination content database.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Move overload

Microsoft.SharePoint.Administration namespace