Export (0) Print
Expand All
Expand Minimize

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")> _
PublicPropertyQueryLoggingEnabledAsBooleanGetSet
'Usage
DiminstanceAsSearchServiceApplicationDimvalueAsBooleanvalue = 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.

Community Additions

ADD
Show:
© 2014 Microsoft