Share via


SearchSettingGroup.GetPromotions Method

Retrieves all promotions of the search setting group where the promotion name contains the specified filter.

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

Syntax

'Declaration
Function GetPromotions ( _
    filter As String _
) As ICollection(Of Promotion)
'Usage
Dim instance As SearchSettingGroup
Dim filter As String
Dim returnValue As ICollection(Of Promotion)

returnValue = instance.GetPromotions(filter)
ICollection<Promotion> GetPromotions(
    string filter
)

Parameters

  • filter
    Type: System.String

    The filter value the promotion name must contain in order to be included in the collection.

Return Value

Type: System.Collections.Generic.ICollection<Promotion>
A collection of all the matching Promotions.

See Also

Reference

SearchSettingGroup Interface

SearchSettingGroup Members

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