ISearchSiteAdministrationServiceApplication.AddSynonym method
Adiciona um sinônimo para a palavra-chave especificada no banco de dados.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Sub AddSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
'Uso
Dim instance As ISearchSiteAdministrationServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword
instance.AddSynonym(syn, parentSpecialTerm)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
void AddSynonym(
Synonym syn,
Keyword parentSpecialTerm
)
Parâmetros
syn
Type: Microsoft.Office.Server.Search.Administration.SynonymSinônimo de palavra-chave especificada.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordA palavra-chave especificada.
Comentários
Este método adiciona o sinônimo para a palavra-chave especificada no banco de dados.
Ver também
Referência
ISearchSiteAdministrationServiceApplication interface