SPMigratableSiteCollection.GetEnumerator method
NOTE: This API is now obsolete.
Returns an enumerator to iterate through 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 Function GetEnumerator As IEnumerator(Of SPSite)
'Usage
Dim instance As SPMigratableSiteCollection
Dim returnValue As IEnumerator(Of SPSite)
returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("Gradual Upgrade is not supported in the current version of SharePoint.")]
public IEnumerator<SPSite> GetEnumerator()
Return value
Type: System.Collections.Generic.IEnumerator<SPSite>
A System.Collections.IEnumerator interface.
Implements
IEnumerable<T>.GetEnumerator()
See also
Reference
SPMigratableSiteCollection class