Partilhar via


SearchServiceApplication.GetBestBetsInfo Method

Retrieves all of the BestBet attributes that belong to the specified keyword consumer group.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetBestBetsInfo ( _
    filter As BestBetFilter, _
    value As String, _
    consumerGpId As String _
) As Dictionary(Of Uri, BestBet)
'Usage
Dim instance As SearchServiceApplication
Dim filter As BestBetFilter
Dim value As String
Dim consumerGpId As String
Dim returnValue As Dictionary(Of Uri, BestBet)

returnValue = instance.GetBestBetsInfo(filter, _
    value, consumerGpId)
public Dictionary<Uri, BestBet> GetBestBetsInfo(
    BestBetFilter filter,
    string value,
    string consumerGpId
)

Parameters

  • value
    Type: System.String

    A string that is used for comparison when performing the filtering.

  • consumerGpId
    Type: System.String

    The ID of the keyword consumer group to which the BestBet attributes belong.

Return Value

Type: System.Collections.Generic.Dictionary<Uri, BestBet>
The collection of the key/value pair consists of a Url and a BestBet.

Implements

ISearchSiteAdministrationServiceApplication.GetBestBetsInfo(BestBetFilter, String, String)

Remarks

This list of BestBet attributes can be filtered based on the value of the filter parameter.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace