.Health()
Checks the status of the database server and storage engine.
Method Syntax
await db.Health()
Arguments
Arguments | Description |
---|
cancellationToken optional | The cancellationToken enables graceful cancellation of asynchronous operations. |
Example usage
bool status = await db.Health();