Skip to content
DocsTry Aspire
DocsTry

SurrealDbClientSettings Properties

ClassProperties4 members
Provides the client configuration settings for connecting to a SurrealDB server using Net.SurrealDbClient.
DisableHealthChecksSection titled DisableHealthChecksbool
Gets or sets a boolean value that indicates whether the SurrealDB health check is disabled or not.
public bool DisableHealthChecks { get; set; }
HealthCheckTimeoutSection titled HealthCheckTimeoutnullableint?
Gets or sets a integer value that indicates the SurrealDB health check timeout in milliseconds.
public int? HealthCheckTimeout { get; set; }
LifetimeSection titled LifetimenullableServiceLifetime?
Gets or sets the Service lifetime to register services under.
public ServiceLifetime? Lifetime { get; set; }
OptionsSection titled OptionsnullableSurrealDbOptions?
The defined Net.SurrealDbClient options used to connect to the SurrealDB server.
public SurrealDbOptions? Options { get; set; }