Method TestDataSourceAsync
- Namespace
- ReportWright.Blazor.Designer
- Assembly
- ReportWright.Blazor.Designer.dll
TestDataSourceAsync(byte[], string, string?, CancellationToken)
Tests one of the definition's data sources: connects, runs nothing.
public virtual Task<DataSourceTestResult?> TestDataSourceAsync(byte[] rdl, string dataSourceName, string? path, CancellationToken cancellationToken)
Parameters
rdlbyte[]The current definition.
dataSourceNamestringThe data source.
pathstringThe report's path, for the host's permission check, or null for an unsaved report.
cancellationTokenCancellationTokenCancels the request.
Returns
- Task<DataSourceTestResult>
The result, or null when the host offers no test.