# MicrosoftDataSqlClientSettings

- Kind: `class`
- Package: [Aspire.Microsoft.Data.SqlClient](/reference/api/csharp/aspire.microsoft.data.sqlclient.md)
- Version: `13.4.0`
- Namespace: `Aspire.Microsoft.Data.SqlClient`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Microsoft.Data.SqlClient/MicrosoftDataSqlClientSettings.cs)

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

## Definition

```csharp
namespace Aspire.Microsoft.Data.SqlClient;

public sealed class MicrosoftDataSqlClientSettings
{
    // ...
}
```

## Constructors

- [MicrosoftDataSqlClientSettings](/reference/api/csharp/aspire.microsoft.data.sqlclient/microsoftdatasqlclientsettings/constructors.md#constructor)

## Properties

- [ConnectionString](/reference/api/csharp/aspire.microsoft.data.sqlclient/microsoftdatasqlclientsettings/properties.md#connectionstring) : `string?` `get; set` -- Gets or sets the connection string of the SQL Server database to connect to.
- [DisableHealthChecks](/reference/api/csharp/aspire.microsoft.data.sqlclient/microsoftdatasqlclientsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the database health check is disabled or not.
- [DisableTracing](/reference/api/csharp/aspire.microsoft.data.sqlclient/microsoftdatasqlclientsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
