CrawlRule.SetCredentials - Méthode (CrawlRuleAuthenticationType, String, String, NameValueCollection, NameValueCollection, StringCollection)
Définit le compte d'accès de cette règle. Cette version de la méthode est uniquement valide pour l'accès d'authentification par formulaires.
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
- authSubmissionMethod
Type : System.String
- authSubmissionPath
Type : System.String
- authData
Type : System.Collections.Specialized.NameValueCollection
- privateAuthData
Type : System.Collections.Specialized.NameValueCollection
- errorPages
Type : System.Collections.Specialized.StringCollection
Voir aussi
Référence
Microsoft.Office.Server.Search.Administration - Espace de noms