SearchServiceApplication.DropSynonym Method
Deletes a Synonym of the specified Keyword from the SearchAdminDatabase.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub DropSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
'Usage
Dim instance As SearchServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword
instance.DropSynonym(syn, parentSpecialTerm)
public void DropSynonym(
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.
Implements
ISearchSiteAdministrationServiceApplication.DropSynonym(Synonym, Keyword)
Remarks
The value of the syn parameter must not be null .
The value of the parentSpecialTerm parameter must not be null .
See Also
Reference
SearchServiceApplication Class