Partilhar via


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

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