Partager via


ContentSourceCollection.GetEnumerator Method

Returns an enumerator that iterates through the content sources in the collection.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As ContentSourceCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the collection.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

ContentSourceCollection Class

ContentSourceCollection Members

Microsoft.Office.Server.Search.Administration Namespace