Compartilhar via


SearchContext.QueryLoggingEnabled property

NOTE: This API is now obsolete.

Obtém um valor booleano indicando se o log de consulta é ativado.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaração
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public ReadOnly Property QueryLoggingEnabled As Boolean
    Get
'Uso
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 se o log de consulta está ativado; Caso contrário, false.

Ver também

Referência

SearchContext class

SearchContext members

Microsoft.Office.Server.Search.Administration namespace