SPContentDatabaseCollection.GetEnumerator method

Returns an enumerator that iterates through the collection.

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

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of SPContentDatabase)
'Usage
Dim instance As SPContentDatabaseCollection
Dim returnValue As IEnumerator(Of SPContentDatabase)

returnValue = instance.GetEnumerator()
public IEnumerator<SPContentDatabase> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<SPContentDatabase>
A System.Collections.IEnumerator object.

See also

Reference

SPContentDatabaseCollection class

SPContentDatabaseCollection members

Microsoft.SharePoint.Administration namespace