CrawlRuleCollection.Create, méthode (Microsoft.Office.Server.Search.Administration)
Creates a crawl rule.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)
Syntaxe
'Déclaration
Public Function Create ( _
type As CrawlRuleType, _
path As String _
) As CrawlRule
'Utilisation
Dim instance As CrawlRuleCollection
Dim type As CrawlRuleType
Dim path As String
Dim returnValue As CrawlRule
returnValue = instance.Create(type, path)
public CrawlRule Create (
CrawlRuleType type,
string path
)
Paramètres
- type
A value from the CrawlRuleType enumeration specifying the type of crawl rule.
- path
A string that contains the path URL for the crawl rule.
Valeur de retour
A CrawlRule object.
Voir aussi
Référence
CrawlRuleCollection, classe
Membres CrawlRuleCollection
Microsoft.Office.Server.Search.Administration, espace de noms