CrawlRule.Test 方法 (Microsoft.Office.Server.Search.Administration)
Tests a specified URL to determine if the URL triggered a crawl rule.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
Public Function Test ( _
url As String _
) As Boolean
用法
Dim instance As CrawlRule
Dim url As String
Dim returnValue As Boolean
returnValue = instance.Test(url)
public bool Test (
string url
)
参数
- url
A string that specifies the URL to test.
返回值
true if the specified URL triggered the crawl rule; otherwise, false.
备注
Use the Test method of the CrawlRuleCollection class to test the URL against all crawl rules for a Shared Service Provider.
另请参阅
参考
CrawlRule 类
CrawlRule 成员
Microsoft.Office.Server.Search.Administration 命名空间