SearchServiceApplication.GetPropertyQueryRuleCount - Méthode

Obtient le nombre de règles de requête qui correspondent à une restriction de propriété spécifiée, où le nom de la propriété spécifiée a la valeur de la propriété spécifiée.

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function GetPropertyQueryRuleCount ( _
    propertyName As String, _
    propertyValue As String _
) As Integer
'Utilisation
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
)

Paramètres

Valeur renvoyée

Type : System.Int32
Le nombre des règles de requête qui correspondent à la restriction de propriété spécifiée, où le nom de la propriété spécifiée a la valeur de la propriété spécifiée.

Implémentations

ISearchSiteAdministrationServiceApplication.GetPropertyQueryRuleCount(String, String)

Remarques

Cette méthode renvoie le nombre de règles de requête qui correspondent à une restriction de propriété spécifiée, où le nom de la propriété spécifiée a la valeur de la propriété spécifiée.

Voir aussi

Référence

SearchServiceApplication classe

SearchServiceApplication - Membres

Microsoft.Office.Server.Search.Administration - Espace de noms