CrawlRuleCollection.Exists, méthode (Microsoft.Office.Server.Search.Administration)
Returns a Boolean value that indicates whether the specified crawl rule exists in the 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
A string that contains the path of the crawl rule.
Valeur de retour
true if the specified crawl rule exists; otherwise, false.
Voir aussi
Référence
CrawlRuleCollection, classe
Membres CrawlRuleCollection
Microsoft.Office.Server.Search.Administration, espace de noms