.Health()

Checks the status of the database server and storage engine.

Method Syntax

await db.Health()

Arguments

ArgumentsDescription
cancellationToken The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

bool status = await db.Health();