API Reference
Interface
IBenchmarkSqlExecutor
Executes SQL benchmark commands through an injectable DbaClientX boundary.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Methods
public abstract Int32 ExecuteNonQuery(String connectionString, String command, IReadOnlyDictionary<String, Object> parameters) #Returns:
Int32Executes a parameterized configuration command.
Parameters
- connectionString System.String
- command System.String
- parameters System.Collections.Generic.IReadOnlyDictionary{System.String,System.Object}
public abstract BenchmarkTabularResult Query(String connectionString, String query) #Returns:
BenchmarkTabularResultExecutes a read-only query and returns provider-neutral tabular evidence.
Parameters
- connectionString System.String
- query System.String