SearchServiceApplication.GetPropertyQueryRuleCount method

Gets the count of query rules that match a specified property restriction, where the specified property name has the specified property value.

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

Syntax

'Declaration
Public Function GetPropertyQueryRuleCount ( _
    propertyName As String, _
    propertyValue As String _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim propertyName As String
Dim propertyValue As String
Dim returnValue As Integer

returnValue = instance.GetPropertyQueryRuleCount(propertyName, _
    propertyValue)
public int GetPropertyQueryRuleCount(
    string propertyName,
    string propertyValue
)

Parameters

Return value

Type: System.Int32
The count of the query rules that match the specified property restriction, where the specified property name has the specified property value.

Implements

ISearchSiteAdministrationServiceApplication.GetPropertyQueryRuleCount(String, String)

Remarks

This method returns the count of the query rules that match a specified property restriction, where the specified property name has the specified property value.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace