Share via


CrawlRule Members

Include Protected Members
Include Inherited Members

Represents a crawl rule.

The CrawlRule type exposes the following members.

Properties

  Name Description
Public property AccountLastModified
Public property AccountName Gets a string containing the account name for the crawl rule.
Public property AuthenticationData
Public property AuthenticationPath
Public property AuthenticationType Gets the type of authentication used for the crawl rule.
Public property ContentClass Gets or sets a string that is sent to the protocol handler for any content matching the crawl rule.
Public property CrawlAsHttp Gets or sets a Boolean value that specifies whether the crawler should crawl content from a hierarchical content source as HTTP content.
Public property Enabled Gets a Boolean value that indicates whether the crawl rule is enabled.
Public property ErrorPages
Public property FollowComplexUrls Gets or sets a Boolean value that specifies whether the index engine should crawl content with URLs that contain the question mark ("?") character.
Public property Method
Public property Parent Gets the parent CrawlRuleCollection object for the crawl rule.
Public property Path Gets or sets the path that the crawl rule applies to.
Public property PluggableSecurityTrimmerId Gets or sets the pluggable security trimmer ID for the crawl rule.
Public property Priority Gets the priority setting for the crawl rule.
Public property SuppressIndexing Gets or sets a Boolean value that specifies whether the crawler should exclude the content of items that this rule applies to from the content index.
Public property Type Gets or sets the crawl rule type.

Top

Methods

  Name Description
Public method Activate Re-activates a crawl rule.
Public method Delete Deletes the crawl rule.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetCredentials(CrawlRuleAuthenticationType, StringCollection, StringCollection)
Public method SetCredentials(CrawlRuleAuthenticationType, String, SecureString) Sets the authentication type, user name, and password information for the index engine to use when crawling content that the crawl rule applies to.
Public method SetCredentials(CrawlRuleAuthenticationType, String, String, NameValueCollection, NameValueCollection, StringCollection)
Public method Test Tests a specified URL to determine if the URL triggered a crawl rule.
Public method ToString (Inherited from Object.)
Public method Update Updates the CrawlRule object with changes made to the crawl rule.

Top

See Also

Reference

CrawlRule Class

Microsoft.Office.Server.Search.Administration Namespace