Share via


PromotionCollection.GetPromotionEnumerator Method

Returns an enumerator for all the promotions with a positive (or zero) boost value.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function GetPromotionEnumerator As IEnumerator(Of Promotion)
'Usage
Dim instance As PromotionCollection
Dim returnValue As IEnumerator(Of Promotion)

returnValue = instance.GetPromotionEnumerator()
IEnumerator<Promotion> GetPromotionEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<Promotion>
An [IEnumerator] representing the enumerator over the promotions.

See Also

Reference

PromotionCollection Interface

PromotionCollection Members

GetPromotionEnumerator Overload

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace