Skip to content
Docs Try Aspire

SurrealDbClientSettings Properties

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