Share via


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

Return Value

Type: Microsoft.Office.Server.Search.WebControls.SharedQueryManager
The shared query manager for the current Web page.

See Also

Reference

SharedQueryManager Class

SharedQueryManager Members

GetInstance Overload

Microsoft.Office.Server.Search.WebControls Namespace