SearchServiceApplication.QueryLoggingEnabled property

NOTE: This API is now obsolete.

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)

[ObsoleteAttribute("QueryLoggingEnabled is obsolete. Use QueryLogSettings instead")]
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.