Share via


SPMigratableSiteCollection.Add method

NOTE: This API is now obsolete.

Adds a site collection to the collection of migratable site collections.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")> _
Public Sub Add ( _
    item As SPSite _
)
'Usage
Dim instance As SPMigratableSiteCollection
Dim item As SPSite

instance.Add(item)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public void Add(
    SPSite item
)

Parameters

Implements

ICollection<T>.Add(T)

See also

Reference

SPMigratableSiteCollection class

SPMigratableSiteCollection members

Microsoft.SharePoint.Administration namespace