CrawlRuleCollection members

Represents a collection of CrawlRule objects.

The CrawlRuleCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of CrawlRule objects in the collection.
Public property Item[Int32] Gets a CrawlRule object from collection, based on the specified priority.
Public property Item[String] Gets a CrawlRule object from collection, based on the specified path.
Public property Parent Gets the parent Content object for the crawl rule collection.

Top

Methods

  Name Description
Public method Create(CrawlRuleType, String) Creates a crawl rule.
Public method Create(CrawlRuleType, Boolean, String) Creates a crawl rule.
Public method Equals (Inherited from Object.)
Public method Exists Returns a Boolean value that indicates whether the specified crawl rule exists in the collection.
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can be used to access the items in the crawl rule collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveFromResults Removes a list of content items from search results without requiring a re-crawl of the content.
Public method SetPriority Sets the priority for a crawl rule.
Public method Test Tests a specified URL against all crawl rules in the collection, and returns a CrawlRule object representing the crawl rule that was triggered for the URL.
Public method ToString (Inherited from Object.)

Top

See also

Reference

CrawlRuleCollection class

Microsoft.Office.Server.Search.Administration namespace