SPSearchCrawlingRequestClassifier.Match Method
Determines whether the HTTP request is from a search crawler.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function Match ( _
request As HttpRequest _
) As Boolean
'Usage
Dim instance As SPSearchCrawlingRequestClassifier
Dim request As HttpRequest
Dim returnValue As Boolean
returnValue = instance.Match(request)
public override bool Match(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe HTTP request.
Return Value
Type: System.Boolean
true, if the request is from a search crawler.
Remarks
This override defines a search crawler request as all and only requests where either the user agent is an MSSearch robot or the request is for the SiteData Web Service (WebSvcSiteData).
See Also
Reference
SPSearchCrawlingRequestClassifier Class