ISearchSiteAdministrationServiceApplication.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
<OperationContractAttribute> _
Function GetSpecialTermsCount ( _
view As KeywordView, _
filter As KeywordFilter, _
value As String, _
consumerGpId As String _
) As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
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)
[OperationContractAttribute]
int GetSpecialTermsCount(
KeywordView view,
KeywordFilter filter,
string value,
string consumerGpId
)
Parameters
view
Type: Microsoft.Office.Server.Search.Administration.KeywordViewA value that specifies the type of keyword objects to include in the result set.
filter
Type: Microsoft.Office.Server.Search.Administration.KeywordFilterA filter type that specifies which attributes of the keyword are applied.
value
Type: System.StringA value 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.
Remarks
This method retrieves the number of keyword attributes for the specified keyword consumer group based on the criteria specified in the view, filter and value parameters.
See Also
Reference
ISearchSiteAdministrationServiceApplication Interface