Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
filter
Type: Microsoft.Office.Server.Search.Administration.BestBetFilterA filter type to specify which Best Bets to retrieve.
value
Type: System.StringThe value that is used for comparison when performing the filtering.
consumerGpId
Type: System.StringThe 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