SearchServiceApplication.GetSynonym method
Recupera especificado Synonym associado com o especificado KeyWord.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function GetSynonym ( _
term As String, _
parentSpecialTerm As Keyword _
) As Synonym
'Uso
Dim instance As SearchServiceApplication
Dim term As String
Dim parentSpecialTerm As Keyword
Dim returnValue As Synonym
returnValue = instance.GetSynonym(term, _
parentSpecialTerm)
public Synonym GetSynonym(
string term,
Keyword parentSpecialTerm
)
Parâmetros
term
Type: System.StringO termo do necessário Synonym.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordO KeyWordespecificado.
Valor retornado
Type: Microsoft.Office.Server.Search.Administration.Synonym
O sinônimo.
Implements
ISearchSiteAdministrationServiceApplication.GetSynonym(String, Keyword)
Comentários
O valor do parâmetro termo não deve ser null .
O valor do parâmetro parentSpecialTerm não deve ser null .
Ver também
Referência
SearchServiceApplication class