Language

SqlClientLogger.IsLoggingEnabled Property

Definition

Gets a value that indicates whether bid tracing is enabled.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

public:
 property bool IsLoggingEnabled { bool get(); };
public bool IsLoggingEnabled { get; }
member this.IsLoggingEnabled : bool
Public ReadOnly Property IsLoggingEnabled As Boolean

Property Value

true if bid tracing is enabled; otherwise, false.

Applies to