# MicrosoftDataSqlClientSettings Properties

- Package: [Aspire.Microsoft.Data.SqlClient](/reference/api/csharp/aspire.microsoft.data.sqlclient.md)
- Type: [MicrosoftDataSqlClientSettings](/reference/api/csharp/aspire.microsoft.data.sqlclient/microsoftdatasqlclientsettings.md)
- Kind: `Properties`
- Members: `3`

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

## ConnectionString

- Name: `ConnectionString`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Microsoft.Data.SqlClient/MicrosoftDataSqlClientSettings.cs)

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

```csharp
public string? ConnectionString { get; set; }
```

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Microsoft.Data.SqlClient/MicrosoftDataSqlClientSettings.cs)

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

```csharp
public bool DisableHealthChecks { get; set; }
```

## DisableTracing

- Name: `DisableTracing`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Components/Aspire.Microsoft.Data.SqlClient/MicrosoftDataSqlClientSettings.cs)

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

```csharp
public bool DisableTracing { get; set; }
```
