# SurrealDbClientSettings Properties

- Package: [CommunityToolkit.Aspire.SurrealDb](/reference/api/csharp/communitytoolkit.aspire.surrealdb.md)
- Type: [SurrealDbClientSettings](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings.md)
- Kind: `Properties`
- Members: `4`

Provides the client configuration settings for connecting to a SurrealDB server using `Net.SurrealDbClient`.

## DisableHealthChecks

- Name: `DisableHealthChecks`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.SurrealDb/SurrealDbClientSettings.cs)

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

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

## HealthCheckTimeout

- Name: `HealthCheckTimeout`
- Modifiers: `nullable` `get; set`
- Returns: `int?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.SurrealDb/SurrealDbClientSettings.cs)

Gets or sets a integer value that indicates the SurrealDB health check timeout in milliseconds.

```csharp
public int? HealthCheckTimeout { get; set; }
```

## Lifetime

- Name: `Lifetime`
- Modifiers: `nullable` `get; set`
- Returns: `ServiceLifetime?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.SurrealDb/SurrealDbClientSettings.cs)

Gets or sets the Service lifetime to register services under.

```csharp
public ServiceLifetime? Lifetime { get; set; }
```

## Options

- Name: `Options`
- Modifiers: `nullable` `get; set`
- Returns: `SurrealDbOptions?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.SurrealDb/SurrealDbClientSettings.cs)

The defined `Net.SurrealDbClient` options used to connect to the SurrealDB server.

```csharp
public SurrealDbOptions? Options { get; set; }
```
