CrawlRule members
SharePoint 2013
Represents a crawl rule.
The CrawlRule type exposes the following members.
| Name | Description | |
|---|---|---|
|
AccountLastModified | Returns the last time the credentials on the rule were set. |
|
AccountName | Gets a string containing the account name for the crawl rule. |
|
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. |
|
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 |
|
AuthenticationType | Gets the type of authentication used for the crawl rule. |
|
ContentClass | Gets or sets a string that is sent to the protocol handler for any content matching the crawl rule. |
|
CrawlAsHttp | Gets or sets a Boolean value that specifies whether the crawler should crawl content from a hierarchical content source as HTTP content. |
|
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. |
|
FollowComplexUrls | Gets or sets a Boolean value that specifies whether the index engine should crawl content with URLs that contain the question mark ("?") character. |
|
IsAdvancedRegularExpression | Allows access to the isAdvancedRegularExpression 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 |
|
Parent | Gets the parent CrawlRuleCollection object for the crawl rule. |
|
Path | Gets or sets the path that the crawl rule applies to. |
|
PluggableSecurityTrimmerId | Gets or sets the pluggable security trimmer ID for the crawl rule. |
|
Priority | Gets the priority setting for the crawl rule. |
|
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. |
|
Type | Gets or sets the crawl rule type. |
| Name | Description | |
|---|---|---|
|
Delete | Deletes the crawl rule. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
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. |
|
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. |
|
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. |
|
Test | Tests a specified URL to determine if the URL triggered a crawl rule. |
|
ToString | (Inherited from Object.) |
|
Update | Updates the CrawlRule object with changes made to the crawl rule. |
Show: