Partager via


SearchServiceApplicationProxy.GetBestBetsInfo Method

Retrieves all of the Best Bets 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 SearchServiceApplicationProxy
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

    The value that is used for comparison when performing the filtering.

  • consumerGpId
    Type: System.String

    The ID of the keyword consumer group to which the Best Bets belong.

Return Value

Type: System.Collections.Generic.Dictionary<Uri, BestBet>
The list of URL/Best Bet pairs.

Implements

ISearchSiteAdministrationServiceApplication.GetBestBetsInfo(BestBetFilter, String, String)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

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

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace