ISearchSiteAdministrationServiceApplication.DropSynonym Method
Deletes a synonym of the specified keyword from the database.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Sub DropSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword
instance.DropSynonym(syn, parentSpecialTerm)
[OperationContractAttribute]
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.
Remarks
Implementing classes should ensure that the values of the syn and parentSpecialTerm parameters must not be null .
See Also
Reference
ISearchSiteAdministrationServiceApplication Interface