Compartilhar via


ISearchSiteAdministrationServiceApplication.GetBestBetForSpecialTerm method

Recupera a melhor opção para o URL, a palavra-chave especificada e o grupo de consumidor de palavra-chave.

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

Syntax

'Declaração
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetBestBetForSpecialTerm ( _
    url As Uri, _
    parentSpecialTerm As Keyword, _
    consumerGpId As String _
) As BestBet
'Uso
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
)

Parâmetros

  • consumerGpId
    Type: System.String

    A identificação do grupo de consumidor de palavra-chave.

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.BestBet
A melhor opção para a palavra-chave.

Comentários

Implementar classes para garantir que os valores do parâmetro de url e parentSpecialTerm não devem ser null .

Ver também

Referência

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace