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
filter
Type: Microsoft.Office.Server.Search.Administration.BestBetFilterA filter type to specify which BestBet attributes are applied.
value
Type: System.StringA string that is used for comparison when performing the filtering.
consumerGpId
Type: System.StringThe 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