SearchBoxScriptWebPart class

SharePoint 2013

A ScriptWebPart that allows the end user to input a search query which is then sent to the search engine to be evaluated.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

'Declaration
<ScriptDescriptorComponentTypeAttribute("Srch.SearchBox")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SearchBoxScriptWebPart _
	Inherits ScriptWebPart
'Usage
Dim instance As SearchBoxScriptWebPart

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: