CrawlRuleCollection.Create 方法 (CrawlRuleType, Boolean, String)

创建一个爬网规则。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function Create ( _
    type As CrawlRuleType, _
    isAdvancedRegularExpression As Boolean, _
    path As String _
) As CrawlRule
用法
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
)

参数

返回值

类型:Microsoft.Office.Server.Search.Administration.CrawlRule
爬网规则中。

另请参阅

引用

CrawlRuleCollection 类

CrawlRuleCollection 成员

Create 重载

Microsoft.Office.Server.Search.Administration 命名空间