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)
Available in Sandboxed Solutions: No

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