QueryInfo.GetQueryLoggingScript method (Page, String, String, Boolean)

Builds and returns the query logging JavaScript for the query Web Part.

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

Syntax

'Declaration
Public Function GetQueryLoggingScript ( _
    page As Page, _
    startAt As String, _
    id As String, _
    isWireSRBLinksSuppressed As Boolean _
) As String
'Usage
Dim instance As QueryInfo
Dim page As Page
Dim startAt As String
Dim id As String
Dim isWireSRBLinksSuppressed As Boolean
Dim returnValue As String

returnValue = instance.GetQueryLoggingScript(page, _
    startAt, id, isWireSRBLinksSuppressed)
public string GetQueryLoggingScript(
    Page page,
    string startAt,
    string id,
    bool isWireSRBLinksSuppressed
)

Parameters

  • startAt
    Type: System.String

    The start result of the Search results.

  • isWireSRBLinksSuppressed
    Type: System.Boolean

    true to suppress JavaScript calls to wire the Search results base links if the results are delayed on asynchronous Web Parts; otherwise, false.

Return value

Type: System.String
The query logging ECMAScript (JavaScript, JScript).

Remarks

This method calls the GetQueryLoggingScript(Page, String, String, Boolean, String) method to build the query logging JavaScript for the query Web Part.

See also

Reference

QueryInfo class

QueryInfo members

GetQueryLoggingScript overload

Microsoft.Office.Server.Search.Query namespace