Share via


MicrosoftDataSqlClientSettings Class

Definition

Provides the client configuration settings for connecting to a SQL Server database using SqlClient.

public sealed class MicrosoftDataSqlClientSettings
type MicrosoftDataSqlClientSettings = class
Public NotInheritable Class MicrosoftDataSqlClientSettings
Inheritance
MicrosoftDataSqlClientSettings

Constructors

MicrosoftDataSqlClientSettings()

Properties

ConnectionString

Gets or sets the connection string of the SQL Server database to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the database health check is disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Applies to