SearchContext.QueryLoggingEnabled Property
NOTE: This API is now obsolete.
Gets a Boolean value indicating whether query logging is enabled.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public ReadOnly Property QueryLoggingEnabled As Boolean
Get
'Usage
Dim instance As SearchContext
Dim value As Boolean
value = instance.QueryLoggingEnabled
[ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")]
public bool QueryLoggingEnabled { get; }
Property Value
Type: System.Boolean
true if query logging is enabled; otherwise, false.