Partager via


SearchServiceApplicationProxy.GetSynonymsCountForSpecialTerm Method

Retrieves the number of synonyms 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 SearchServiceApplicationProxy
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 synonyms that are associated with the specified keyword.

Implements

ISearchSiteAdministrationServiceApplication.GetSynonymsCountForSpecialTerm(Keyword)

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

The value of the parentSpecialTerm must not be null .

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace