SharedQueryManager.GetInstance Method (Page)
Returns the shared query manager instance for the current Web page.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Shared Function GetInstance ( _
CurrentPage As Page _
) As SharedQueryManager
'Usage
Dim CurrentPage As Page
Dim returnValue As SharedQueryManager
returnValue = SharedQueryManager.GetInstance(CurrentPage)
public static SharedQueryManager GetInstance(
Page CurrentPage
)
Parameters
CurrentPage
Type: System.Web.UI.PageThe current Web page.
Return Value
Type: Microsoft.Office.Server.Search.WebControls.SharedQueryManager
The shared query manager for the current Web page.