다음을 통해 공유


SearchServiceApplicationProxy.DropSynonym Method

Deletes a synonym of the specified keyword from the Search administration database.

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 SearchServiceApplicationProxy
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)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

The value of the syn parameter must not be null .

The value of the parentSpecialTerm parameter must not be null .

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace