Share via


CrawlRule.AuthenticationType Property

Gets the type of authentication used for the crawl rule.

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

Syntax

'Declaration
Public ReadOnly Property AuthenticationType As CrawlRuleAuthenticationType
    Get
'Usage
Dim instance As CrawlRule
Dim value As CrawlRuleAuthenticationType

value = instance.AuthenticationType
public CrawlRuleAuthenticationType AuthenticationType { get; }

Property Value

Type: Microsoft.Office.Server.Search.Administration.CrawlRuleAuthenticationType
A value from the CrawlRuleAuthenticationType enumeration specifying the type of authentication.

Remarks

Use the SetCredentials() method of the CrawlRule class to change the authentication type for a crawl rule.

See Also

Reference

CrawlRule Class

CrawlRule Members

Microsoft.Office.Server.Search.Administration Namespace