다음을 통해 공유


CrawlRule.SetCredentials Method (CrawlRuleAuthenticationType, String, String, NameValueCollection, NameValueCollection, StringCollection)

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub SetCredentials ( _
    type As CrawlRuleAuthenticationType, _
    authSubmissionMethod As String, _
    authSubmissionPath As String, _
    authData As NameValueCollection, _
    privateAuthData As NameValueCollection, _
    errorPages As StringCollection _
)
'Usage
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
)

Parameters

See Also

Reference

CrawlRule Class

CrawlRule Members

SetCredentials Overload

Microsoft.Office.Server.Search.Administration Namespace