다음을 통해 공유


IndexPartitionCollection.IEnumerable.GetEnumerator Method

Retrieves an enumerator that iterates through the IndexPartitionCollection object.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As IndexPartitionCollection
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
The enumerator that iterates through the IndexPartitionCollection.

Implements

IEnumerable.GetEnumerator()

Remarks

This method gets the enumerator that iterates through the whole IndexPartitionCollection.

See Also

Reference

IndexPartitionCollection Class

IndexPartitionCollection Members

Microsoft.Office.Server.Search.Administration Namespace