Condividi tramite


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