Share via


CrawlRule.Activate Method

Re-activates a crawl rule.

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

Syntax

'Declaration
Public Sub Activate
'Usage
Dim instance As CrawlRule

instance.Activate()
public void Activate()

Remarks

Deactivated crawl rules are ignored by Enterprise Search during a crawl. A crawl rule may become deactivated during version-to-version upgrade. Use this method to re-activate a crawl rule.

See Also

Reference

CrawlRule Class

CrawlRule Members

Microsoft.Office.Server.Search.Administration Namespace