SearchServiceApplication.GetUrlRuleCount method

Gets the count of crawled items whose site URL matches a specified URL.

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

Syntax

'Declaration
Public Function GetUrlRuleCount ( _
    matchString As String _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim matchString As String
Dim returnValue As Integer

returnValue = instance.GetUrlRuleCount(matchString)
public int GetUrlRuleCount(
    string matchString
)

Parameters

  • matchString
    Type: System.String

    The specified URL to be matched.

Return value

Type: System.Int32
The count of items that match the specified URL.

Implements

ISearchSiteAdministrationServiceApplication.GetUrlRuleCount(String)

Remarks

This method gets the count of the crawled items whose site URL is equal to matchString.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace