Partager via


CrawlRule.SetCredentials, méthode (CrawlRuleAuthenticationType, String, String, NameValueCollection, NameValueCollection, 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, _
    authSubmissionMethod As String, _
    authSubmissionPath As String, _
    authData As NameValueCollection, _
    privateAuthData As NameValueCollection, _
    errorPages As StringCollection _
)
'Utilisation
Dim instance As CrawlRule
Dim type As CrawlRuleAuthenticationType
Dim authSubmissionMethod As String
Dim authSubmissionPath As String
Dim authData As NameValueCollection
Dim privateAuthData As NameValueCollection
Dim errorPages As StringCollection

instance.SetCredentials(type, authSubmissionMethod, authSubmissionPath, authData, privateAuthData, errorPages)
public void SetCredentials (
    CrawlRuleAuthenticationType type,
    string authSubmissionMethod,
    string authSubmissionPath,
    NameValueCollection authData,
    NameValueCollection privateAuthData,
    StringCollection errorPages
)

Paramètres

  • type
  • authSubmissionMethod
  • authSubmissionPath
  • authData
  • privateAuthData
  • errorPages

Voir aussi

Référence

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