Export (0) Print
Expand All

CrawlRule.Test Method

Tests a specified URL to determine if the URL triggered a crawl rule.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public bool Test(
	string url
)

Parameters

url
Type: System.String
A string that specifies the URL to test.

Return Value

Type: System.Boolean
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.

Community Additions

ADD
Show:
© 2014 Microsoft