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)

'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

Property value

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