Share via


Content.CrawlRules Property

Gets the collection of crawl rules for a Shared Services Provider's search service.

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.

Remarks

For more information about crawl rules and the new Enterprise Search Administration object model, see Defining Crawl Rules and File Types and Getting Started with the Search Administration Object Model.

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

Other Resources

Defining Crawl Rules and File Types

Getting Started with the Enterprise Search Administration Object Model

Content Sources Overview

Managing Content

How to: Retrieve the Content Sources for a Shared Services Provider