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
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
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)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
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