Share via


ISearchSiteAdministrationServiceApplication.GetBestBetsCount method

Calculates the number of the BestBet attributes for the specified keyword consumer group that match the specified filtering criteria.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetBestBetsCount ( _
    filter As BestBetFilter, _
    value As String, _
    consumerGpId As String _
) As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim filter As BestBetFilter
Dim value As String
Dim consumerGpId As String
Dim returnValue As Integer

returnValue = instance.GetBestBetsCount(filter, _
    value, consumerGpId)
[OperationContractAttribute]
int GetBestBetsCount(
    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 BestBet attributes belong.

Return value

Type: System.Int32
The number of the BestBet attributes.

Remarks

Implementing classes should ensure that the value of the value parameter must not be null .

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace