Share via


SearchServiceApplication.QueryLoggingEnabled Property

Gets or sets a flag that indicates whether query logging is enabled for the current SearchServiceApplication.

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

Syntax

'Declaration
Public Property QueryLoggingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SearchServiceApplication
Dim value As Boolean

value = instance.QueryLoggingEnabled

instance.QueryLoggingEnabled = value
public bool QueryLoggingEnabled { get; set; }

Property Value

Type: System.Boolean
true if query logging is enabled for the SearchServiceApplication application; otherwise, false. The default is true.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace