Share via


ISearchSiteAdministrationServiceApplication.GetUrlRuleCount method

Retrieves the number 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
<OperationContractAttribute> _
Function GetUrlRuleCount ( _
    matchString As String _
) As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim matchString As String
Dim returnValue As Integer

returnValue = instance.GetUrlRuleCount(matchString)
[OperationContractAttribute]
int GetUrlRuleCount(
    string matchString
)

Parameters

  • matchString
    Type: System.String

    The specified URL to be matched.

Return value

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

Remarks

This method retrieves the number of the crawled items whose site URL is equal to matchString.

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace