SearchServiceApplicationProxy.GetBestBetsCountForSpecialTerm method
Retrieves the number of Best Bets that contain the specified keyword.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetBestBetsCountForSpecialTerm ( _
st As Keyword _
) As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim st As Keyword
Dim returnValue As Integer
returnValue = instance.GetBestBetsCountForSpecialTerm(st)
public int GetBestBetsCountForSpecialTerm(
Keyword st
)
Parameters
st
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
Return value
Type: System.Int32
The number of Best Bets.
Implements
ISearchSiteAdministrationServiceApplication.GetBestBetsCountForSpecialTerm(Keyword)
Exceptions
Exception | Condition |
---|---|
Exception | An error, such as a SearchServiceApplicationFault, occurred during application execution. |
Remarks
This method gets the number of Best Bets for the keyword represented by the st parameter.
See also
Reference
SearchServiceApplicationProxy class