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

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