CrawlRuleCollection.Exists - Méthode
Renvoie une valeur de type Boolean qui indique si la règle d'analyse spécifié existe dans la collection.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)
Syntaxe
'Déclaration
Public Function Exists ( _
path As String _
) As Boolean
'Utilisation
Dim instance As CrawlRuleCollection
Dim path As String
Dim returnValue As Boolean
returnValue = instance.Exists(path)
public bool Exists(
string path
)
Paramètres
path
Type : System.StringChaîne qui contient le chemin d'accès de la règle d'analyse.
Valeur renvoyée
Type : System.Boolean
true si la règle d'analyse spécifié existe ; dans le cas contraire, false.
Voir aussi
Référence
Microsoft.Office.Server.Search.Administration - Espace de noms