Partager via


CrawlRuleCollection.Create - Méthode (CrawlRuleType, Boolean, String)

Crée une règle d'analyse.

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, _
    isAdvancedRegularExpression As Boolean, _
    path As String _
) As CrawlRule
'Utilisation
Dim instance As CrawlRuleCollection
Dim type As CrawlRuleType
Dim isAdvancedRegularExpression As Boolean
Dim path As String
Dim returnValue As CrawlRule

returnValue = instance.Create(type, isAdvancedRegularExpression, _
    path)
public CrawlRule Create(
    CrawlRuleType type,
    bool isAdvancedRegularExpression,
    string path
)

Paramètres

  • path
    Type : System.String

    Le chemin d'accès de la règle d'analyse.

Valeur renvoyée

Type : Microsoft.Office.Server.Search.Administration.CrawlRule
La règle d'analyse.

Voir aussi

Référence

CrawlRuleCollection classe

CrawlRuleCollection - Membres

Create - Surcharge

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