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.
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
propertyName
Type: System.StringThe name of the property.
propertyValue
Type: System.StringThe value of the property.
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