Content.CrawlRules property

Gets the collection of crawl rules for a Search service application.

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

Syntax

'Declaration
Public ReadOnly Property CrawlRules As CrawlRuleCollection
    Get
'Usage
Dim instance As Content
Dim value As CrawlRuleCollection

value = instance.CrawlRules
public CrawlRuleCollection CrawlRules { get; }

Property value

Type: Microsoft.Office.Server.Search.Administration.CrawlRuleCollection
A CrawlRuleCollection object containing a collection of CrawlRule objects representing crawl rules.

See also

Reference

Content class

Content members

Microsoft.Office.Server.Search.Administration namespace

Microsoft.Office.Server.Search.Administration.CrawlRule

Microsoft.Office.Server.Search.Administration.CrawlRuleCollection