SearchServiceApplication.DropSynonym 方法
从SearchAdminDatabase中删除指定的Keyword的Synonym 。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Sub DropSynonym ( _
syn As Synonym, _
parentSpecialTerm As Keyword _
)
用法
Dim instance As SearchServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword
instance.DropSynonym(syn, parentSpecialTerm)
public void DropSynonym(
Synonym syn,
Keyword parentSpecialTerm
)
参数
syn
类型:Microsoft.Office.Server.Search.Administration.Synonym指定Keyword的同义词。
parentSpecialTerm
类型:Microsoft.Office.Server.Search.Administration.Keyword指定的关键字。
实现
ISearchSiteAdministrationServiceApplication.DropSynonym(Synonym, Keyword)
备注
syn和parentSpecialTerm的值不能 null 。