ISearchSiteAdministrationServiceApplication.GetSynonym method
Recupera o sinônimo especificado associado com a palavra-chave especificada.
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 GetSynonym ( _
term As String, _
parentSpecialTerm As Keyword _
) As Synonym
'Uso
Dim instance As ISearchSiteAdministrationServiceApplication
Dim term As String
Dim parentSpecialTerm As Keyword
Dim returnValue As Synonym
returnValue = instance.GetSynonym(term, _
parentSpecialTerm)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
Synonym GetSynonym(
string term,
Keyword parentSpecialTerm
)
Parâmetros
term
Type: System.StringO termo do sinônimo a serem recuperados.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordA palavra-chave especificada.
Valor retornado
Type: Microsoft.Office.Server.Search.Administration.Synonym
O sinônimo.
Comentários
Implementar classes para garantir que os valores do parâmetro term e o parâmetro parentSpecialTerm não devem ser null .
Ver também
Referência
ISearchSiteAdministrationServiceApplication interface