Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsSearchRequest method
Collapse the table of content
Expand the table of content

SPUtility.IsSearchRequest method

SharePoint 2013

Determines whether the request comes from SharePoint Search.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool IsSearchRequest(
	HttpRequest request
)

Parameters

request
Type: System.Web.HttpRequest

Return value

Type: System.Boolean
Show:
© 2015 Microsoft