Partager via


CrawlRule.AccountName, propriété (Microsoft.Office.Server.Search.Administration)

Gets a string containing the account name for the crawl rule.

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AccountName As String
'Utilisation
Dim instance As CrawlRule
Dim value As String

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

Valeur de la propriété

A string containing the account name.

Remarques

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.

Voir aussi

Référence

CrawlRule, classe
Membres CrawlRule
Microsoft.Office.Server.Search.Administration, espace de noms