AceQL HTTP C# Client SDK v7.8

HealthCheck..::..GetResponseTimeAsync Method (String)

Gets the response time of a SQL statement called on the remote database defined by the underlying connection (must be a SELECT).

Namespace:  AceQL.Client.Api
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<double> GetResponseTimeAsync(
	string sql
)

Parameters

sql
Type: String
The SQL SELECT command.

Return Value

The response time in milliseconds

Exceptions


ExceptionCondition
[System.ArgumentNullException]sql
[System.ArgumentException]sql command must be a SELECT!