# SurrealDbClientSettings

- Kind: `class`
- Package: [CommunityToolkit.Aspire.SurrealDb](/reference/api/csharp/communitytoolkit.aspire.surrealdb.md)
- Version: `13.4.0`
- Namespace: `CommunityToolkit.Aspire.SurrealDb`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.SurrealDb/SurrealDbClientSettings.cs)

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

## Definition

```csharp
namespace CommunityToolkit.Aspire.SurrealDb;

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

## Constructors

- [SurrealDbClientSettings](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings/constructors.md#constructor)

## Properties

- [DisableHealthChecks](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the SurrealDB health check is disabled or not.
- [HealthCheckTimeout](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings/properties.md#healthchecktimeout) : `int?` `get; set` -- Gets or sets a integer value that indicates the SurrealDB health check timeout in milliseconds.
- [Lifetime](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings/properties.md#lifetime) : `ServiceLifetime?` `get; set` -- Gets or sets the Service lifetime to register services under.
- [Options](/reference/api/csharp/communitytoolkit.aspire.surrealdb/surrealdbclientsettings/properties.md#options) : `SurrealDbOptions?` `get; set` -- The defined `Net.SurrealDbClient` options used to connect to the SurrealDB server.
