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 the Best Bet for the URL, specified keyword, and keyword consumer group.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetBestBetForSpecialTerm ( _
url As Uri, _
parentSpecialTerm As Keyword, _
consumerGpId As String _
) As BestBet
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim url As Uri
Dim parentSpecialTerm As Keyword
Dim consumerGpId As String
Dim returnValue As BestBet
returnValue = instance.GetBestBetForSpecialTerm(url, _
parentSpecialTerm, consumerGpId)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
BestBet GetBestBetForSpecialTerm(
Uri url,
Keyword parentSpecialTerm,
string consumerGpId
)
Parameters
url
Type: System.UriThe URL of the Best Bet.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
consumerGpId
Type: System.StringThe ID of the keyword consumer group.
Return Value
Type: Microsoft.Office.Server.Search.Administration.BestBet
The Best Bet for the keyword.
Remarks
Implementing classes should ensure that the values of the url parameter and parentSpecialTerm parameter must not be null .
See Also
Reference
ISearchSiteAdministrationServiceApplication Interface