Share via


CrawlRule.SetCredentials method

Sets the credentials for the crawl rule.

Overload list

  Name Description
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.

Top

See also

Reference

CrawlRule class

CrawlRule members

Microsoft.Office.Server.Search.Administration namespace