SPMigratableSiteCollection.Clear method

NOTE: This API is now obsolete.

Removes all site collections from the collection.

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 Clear
'Usage
Dim instance As SPMigratableSiteCollection

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

Implements

ICollection<T>.Clear()

See also

Reference

SPMigratableSiteCollection class

SPMigratableSiteCollection members

Microsoft.SharePoint.Administration namespace