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)

Syntax

'Declaration
<ObsoleteAttribute("QueryLoggingEnabled is obsolete. Use QueryLogSettings instead")> _
Public Property QueryLoggingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SearchServiceApplication
Dim value As Boolean

value = instance.QueryLoggingEnabled

instance.QueryLoggingEnabled = value
[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.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace