共用方式為


SPContentDatabaseCollection.GetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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