Partager via


ISearchSiteAdministrationServiceApplication.GetBestBetsInfo Method

Retrieves all of the Best Bets attributes that belongs 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
<OperationContractAttribute> _
Function GetBestBetsInfo ( _
    filter As BestBetFilter, _
    value As String, _
    consumerGpId As String _
) As Dictionary(Of Uri, BestBet)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
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)
[OperationContractAttribute]
Dictionary<Uri, BestBet> GetBestBetsInfo(
    BestBetFilter filter,
    string value,
    string consumerGpId
)

Parameters

  • value
    Type: System.String

    The value used for comparison when performing the filtering.

  • consumerGpId
    Type: System.String

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

Return Value

Type: System.Collections.Generic.Dictionary<Uri, BestBet>
The collection of the Best Bets for the keyword consumer group.

Remarks

This method filters the list of Best Bet attributes based on the value of the filter parameter.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace