Share via


SearchResultsBaseWebPart.ShouldLogQuery Property

Gets or sets a Boolean value specifying whether the search query should be logged.

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

Syntax

'Declaration
Protected Property ShouldLogQuery As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.ShouldLogQuery

Me.ShouldLogQuery = value
protected bool ShouldLogQuery { get; set; }

Property Value

Type: System.Boolean
true if the query should be logged; otherwise, false.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace