(CrawlRuleAuthenticationType, String, String, NameValueCollection, NameValueCollection, StringCollection) del método CrawlRule.SetCredentials
Establece la cuenta de acceso para esta regla. Esta versión del método sólo es válida para el acceso de autenticación de formularios.
Espacio de nombres: Microsoft.Office.Server.Search.Administration
Ensamblado: Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)
Sintaxis
'Declaración
Public Sub SetCredentials ( _
type As CrawlRuleAuthenticationType, _
authSubmissionMethod As String, _
authSubmissionPath As String, _
authData As NameValueCollection, _
privateAuthData As NameValueCollection, _
errorPages As StringCollection _
)
'Uso
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
)
Parámetros
- authSubmissionMethod
Tipo: System.String
- authSubmissionPath
Tipo: System.String
- authData
Tipo: System.Collections.Specialized.NameValueCollection
- privateAuthData
Tipo: System.Collections.Specialized.NameValueCollection
- errorPages
Tipo: System.Collections.Specialized.StringCollection
Vea también
Referencia
Espacio de nombres Microsoft.Office.Server.Search.Administration