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

Remarks

This method adds the synonym for the specified keyword to the database.

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace