Language

SqlClientLogger Class

Definition

Represents a SQL client logger.

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

public ref class SqlClientLogger
public class SqlClientLogger
type SqlClientLogger = class
Public Class SqlClientLogger
Inheritance
SqlClientLogger

Constructors

Name Description
SqlClientLogger()

Initializes a new instance of the SqlClientLogger class.

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

Properties

Name Description
IsLoggingEnabled

Gets a value that indicates whether bid tracing is enabled.

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

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LogAssert(Boolean, String, String, String)

Logs the specified message if value is false.

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

LogError(String, String, String)

Logs an error through a specified method of the current instance type.

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

LogInfo(String, String, String)

Logs information through a specified method of the current instance type.

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to