Partilhar via


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

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

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace