Partager via


HostDistributionRuleCollection.GetEnumerator Method

Returns an enumerator that iterates the HostDistributionRuleCollection.

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 HostDistributionRuleCollection
Dim returnValue As IEnumerator

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

Return Value

Type: System.Collections.IEnumerator
An enumerator that iterates the HostDistributionRuleCollection.

Implements

IEnumerable.GetEnumerator()

Remarks

This method initializes the collection and returns the enumerator.

See Also

Reference

HostDistributionRuleCollection Class

HostDistributionRuleCollection Members

Microsoft.Office.Server.Search.Administration Namespace