SPSiteInfoCollection.GetEnumerator method

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of SPSiteInfo)
'Usage
Dim instance As SPSiteInfoCollection
Dim returnValue As IEnumerator(Of SPSiteInfo)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<SPSiteInfo> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPSiteInfo>

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPSiteInfoCollection class

SPSiteInfoCollection members

Microsoft.SharePoint.Administration namespace