Share via


SPMigratableSiteCollection.IEnumerable.GetEnumerator method

NOTE: This API is now obsolete.

Returns an enumerator over all items in this list.

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.")> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As SPMigratableSiteCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
IEnumeratorIEnumerable.GetEnumerator()

Return value

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

See also

Reference

SPMigratableSiteCollection class

SPMigratableSiteCollection members

Microsoft.SharePoint.Administration namespace