Share via


SearchSettingGroup.GetBestBetsWithKeyword Method

Retrieves best bets of the search setting group that are associated with a keyword, i.e. are not global and where the best bet 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 GetBestBetsWithKeyword ( _
    filter As String _
) As ICollection(Of BestBet)
'Usage
Dim instance As SearchSettingGroup
Dim filter As String
Dim returnValue As ICollection(Of BestBet)

returnValue = instance.GetBestBetsWithKeyword(filter)
ICollection<BestBet> GetBestBetsWithKeyword(
    string filter
)

Parameters

  • filter
    Type: System.String

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

Return Value

Type: System.Collections.Generic.ICollection<BestBet>
A collection of all the matching BestBets.

See Also

Reference

SearchSettingGroup Interface

SearchSettingGroup Members

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