SearchServiceApplicationProxy.GetSpecialTermsCount method

Retrieves the number of keyword attributes for the specified keyword consumer group.

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

Syntax

'Declaration
Public Function GetSpecialTermsCount ( _
    view As KeywordView, _
    filter As KeywordFilter, _
    value As String, _
    consumerGpId As String _
) As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim view As KeywordView
Dim filter As KeywordFilter
Dim value As String
Dim consumerGpId As String
Dim returnValue As Integer

returnValue = instance.GetSpecialTermsCount(view, _
    filter, value, consumerGpId)
public int GetSpecialTermsCount(
    KeywordView view,
    KeywordFilter filter,
    string value,
    string consumerGpId
)

Parameters

  • value
    Type: System.String

    The value for comparison when performing the filtering.

  • consumerGpId
    Type: System.String

    The ID of the keyword consumer group.

Return value

Type: System.Int32
The number of keyword attributes.

Implements

ISearchSiteAdministrationServiceApplication.GetSpecialTermsCount(KeywordView, KeywordFilter, String, String)

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

The keyword attributes included can be filtered according to criteria specified in the view and filter parameters.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace