다음을 통해 공유


CrawlRule.AccountName Property

Gets a string containing the account name 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 AccountName As String
    Get
'Usage
Dim instance As CrawlRule
Dim value As String

value = instance.AccountName
public string AccountName { get; }

Property Value

Type: System.String
A string containing the account name.

Remarks

The AccountName property returns an empty string for exclusion type crawl rules.

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

See Also

Reference

CrawlRule Class

CrawlRule Members

Microsoft.Office.Server.Search.Administration Namespace