ISearchSiteAdministrationServiceApplication.AddSynonym method
Adds a synonym for the specified keyword to the database.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Sub AddSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
'Usage
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
)
Parameters
syn
Type: Microsoft.Office.Server.Search.Administration.SynonymThe synonym of the specified keyword.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
Remarks
This method adds the synonym for the specified keyword to the database.
See also
Reference
ISearchSiteAdministrationServiceApplication interface