Compartir a través de


: CrawlRule.Test (Método) (Microsoft.Office.Server.Search.Administration)

Tests a specified URL to determine if the URL triggered a crawl rule.

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

Sintaxis

'Declaración
Public Function Test ( _
    url As String _
) As Boolean
'Uso
Dim instance As CrawlRule
Dim url As String
Dim returnValue As Boolean

returnValue = instance.Test(url)
public bool Test (
    string url
)

Parámetros

  • url
    A string that specifies the URL to test.

Valor devuelto

true if the specified URL triggered the crawl rule; otherwise, false.

Comentarios

Use the Test method of the CrawlRuleCollection class to test the URL against all crawl rules for a Shared Service Provider.

Vea también

Referencia

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