Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates 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 SearchServiceApplication
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
view
Type: Microsoft.Office.Server.Search.Administration.KeywordViewOne of the enumeration values that specifies the type of KeyWord attributes to include in the count.
filter
Type: Microsoft.Office.Server.Search.Administration.KeywordFilterOne of the enumeration values that specifies which KeyWord attributes are compared to the value.
value
Type: System.StringA string that is used for comparison when performing the filtering.
consumerGpId
Type: System.StringThe ID of the KeyWord consumer group.
Return Value
Type: System.Int32
The number of KeyWord attributes.
Implements
Remarks
The KeyWord attributes included can be filtered according to criteria specified in the view and filter parameters.
See Also
Reference
SearchServiceApplication Class