CrawlRule.SetCredentials 方法 (CrawlRuleAuthenticationType, StringCollection, StringCollection) (Microsoft.Office.Server.Search.Administration)

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Sub SetCredentials ( _
    type As CrawlRuleAuthenticationType, _
    cookies As StringCollection, _
    errorPages As StringCollection _
)
用法
Dim instance As CrawlRule
Dim type As CrawlRuleAuthenticationType
Dim cookies As StringCollection
Dim errorPages As StringCollection

instance.SetCredentials(type, cookies, errorPages)
public void SetCredentials (
    CrawlRuleAuthenticationType type,
    StringCollection cookies,
    StringCollection errorPages
)

参数

  • type
  • cookies
  • errorPages

另请参阅

参考

CrawlRule 类
CrawlRule 成员
Microsoft.Office.Server.Search.Administration 命名空间