SearchServiceApplicationProxy.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 SearchServiceApplicationProxy
Dim matchString As String
Dim returnValue As Integer
returnValue = instance.GetUrlRuleCount(matchString)
public int GetUrlRuleCount(
string matchString
)
Parameters
matchString
Type: System.StringThe specified URL to be matched.
Return Value
Type: System.Int32
The count of items that match the specified URL.
Implements
ISearchSiteAdministrationServiceApplication.GetUrlRuleCount(String)
Exceptions
Exception | Condition |
---|---|
Exception | An error occurred during application execution. |
Remarks
This method gets the count of the crawled items whose site URL is equal to matchString.
See Also
Reference
SearchServiceApplicationProxy Class