Share via


SearchServiceApplication.GetSynonymsCountForSpecialTerm Method

Calculates the number of Synonym objects that are associated with the specified KeyWord.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetSynonymsCountForSpecialTerm ( _
    parentSpecialTerm As Keyword _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim parentSpecialTerm As Keyword
Dim returnValue As Integer

returnValue = instance.GetSynonymsCountForSpecialTerm(parentSpecialTerm)
public int GetSynonymsCountForSpecialTerm(
    Keyword parentSpecialTerm
)

Parameters

Return Value

Type: System.Int32
The number of Synonym objects that are associated with the specified keyword.

Implements

ISearchSiteAdministrationServiceApplication.GetSynonymsCountForSpecialTerm(Keyword)

Remarks

The value of the parentSpecialTerm must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace