Compartilhar via


DataResultBase.EnableSQLCommandLogging property

Obtém ou define um valor que habilita o log de comando SQL.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaração
Public Property EnableSQLCommandLogging As Boolean
    Get
    Set
'Uso
Dim instance As DataResultBase
Dim value As Boolean

value = instance.EnableSQLCommandLogging

instance.EnableSQLCommandLogging = value
public bool EnableSQLCommandLogging { get; set; }

Property value

Type: System.Boolean
true para habilitar o log de comando SQL; Caso contrário, false.

Ver também

Referência

DataResultBase class

DataResultBase members

Microsoft.SharePoint.Portal.WebControls namespace