Compartilhar via


SearchServiceApplication.QueryLoggingEnabled property

NOTE: This API is now obsolete.

Obtém ou define um sinalizador que indica se o log de consulta está ativado para o atual SearchServiceApplication.

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

Syntax

'Declaração
<ObsoleteAttribute("QueryLoggingEnabled is obsolete. Use QueryLogSettings instead")> _
Public Property QueryLoggingEnabled As Boolean
    Get
    Set
'Uso
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 se o log de consulta está habilitado para o aplicativo de SearchServiceApplication ; Caso contrário, false. O padrão é true.

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace