Share via


PromotionCollection.GetDemotionEnumerator Method

Returns an enumerator for all the promotions with a negative boost value. These promotions are called demotions.

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

Syntax

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

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

Return Value

Type: System.Collections.Generic.IEnumerator<Promotion>
An [IEnumerator] over the demotions.

See Also

Reference

PromotionCollection Interface

PromotionCollection Members

GetDemotionEnumerator Overload

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