Export (0) Print
Expand All

CrawlRule members

Represents a crawl rule.

The CrawlRule type exposes the following members.

  Name Description
Public property AccountLastModified Returns the last time the credentials on the rule were set.
Public property AccountName Gets a string containing the account name for the crawl rule.
Public property AuthenticationData Gets the authentication data used for a forms auth'd request. Returns a copy of the cached data. Returns null if something unexpected occurred.
Public property AuthenticationPath Gets the authentication path used for a forms auth'd request. return authentication path in case of InclusionRule with authentication type FormRuleAccess null otherwise
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 ErrorPages Gets the collection of error pages used for forms or cookie auth. Returns a copy of the cached data. Returns null if something unexpected occurred.
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 IsAdvancedRegularExpression Allows access to the isAdvancedRegularExpression property.
Public property Method Gets the method by which a forms authentication request is made ("get" or "post"). return method in case of InclusionRule with authentication type FormRuleAccess null otherwise
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

  Name Description
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) Sets the authentication type, cookies, and error page for the index engine to use when crawling content that the crawl rule applies to.
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) Sets the access acount for this rule. This version of the method is only valid for forms auth access.
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

Community Additions

ADD
Show:
© 2014 Microsoft