Compartir a través de


: CrawlRule.AccountName (Propiedad) (Microsoft.Office.Server.Search.Administration)

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

Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)

Sintaxis

'Declaración
Public ReadOnly Property AccountName As String
'Uso
Dim instance As CrawlRule
Dim value As String

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

Valor de propiedad

A string containing the account name.

Comentarios

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.

Vea también

Referencia

CrawlRule (Clase)
CrawlRule (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)