Partilhar via


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