SearchServiceApplication.AddSynonym Method
Adds a synonym for the specified keyword to the SearchAdminDatabase.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub AddSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
'Usage
Dim instance As SearchServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword
instance.AddSynonym(syn, parentSpecialTerm)
public void AddSynonym(
Synonym syn,
Keyword parentSpecialTerm
)
Parameters
syn
Type: Microsoft.Office.Server.Search.Administration.SynonymThe synonym associated with the specified keyword.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
Implements
ISearchSiteAdministrationServiceApplication.AddSynonym(Synonym, Keyword)
Remarks
This method adds a synonym for the specified keyword to the SearchAdminDatabase.
See Also
Reference
SearchServiceApplication Class