Share via


CrawlRule.SetCredentials Method (CrawlRuleAuthenticationType, StringCollection, 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, _
    cookies As StringCollection, _
    errorPages As StringCollection _
)
'Usage
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
)

Parameters

See Also

Reference

CrawlRule Class

CrawlRule Members

SetCredentials Overload

Microsoft.Office.Server.Search.Administration Namespace