Partager via


CrawlRule.SetCredentials, méthode (CrawlRuleAuthenticationType, StringCollection, StringCollection) (Microsoft.Office.Server.Search.Administration)

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Sub SetCredentials ( _
    type As CrawlRuleAuthenticationType, _
    cookies As StringCollection, _
    errorPages As StringCollection _
)
'Utilisation
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
)

Paramètres

  • type
  • cookies
  • errorPages

Voir aussi

Référence

CrawlRule, classe
Membres CrawlRule
Microsoft.Office.Server.Search.Administration, espace de noms