CrawlRuleCollection.Create-Methode (CrawlRuleType, Boolean, String)
Erstellt eine Crawlregel.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Create ( _
type As CrawlRuleType, _
isAdvancedRegularExpression As Boolean, _
path As String _
) As CrawlRule
'Usage
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
)
Parameter
type
Typ: Microsoft.Office.Server.Search.Administration.CrawlRuleTypeDer Crawl Regeltyp.
- isAdvancedRegularExpression
Typ: System.Boolean
path
Typ: System.StringDer Pfad für die Crawlregel.
Rückgabewert
Typ: Microsoft.Office.Server.Search.Administration.CrawlRule
Die Crawlregel.