Interface IUsedConnections
Represents used connections. The SubConnections need to be validated before calling GetDataProviderViewAsync(CancellationToken)
Inherited Members
Namespace: BiExcellence.OpenBi.Api.Commands.DataProviders
Assembly: BiExcellence.OpenBi.Api.DataProvider.dll
Syntax
public interface IUsedConnections : IAsyncDisposable
Properties
DataProviderName
Gets the data provider name used by GetDataProviderViewAsync(CancellationToken).
Declaration
string DataProviderName { get; }
Property Value
| Type | Description |
|---|---|
| string |
SubConnections
Gets the sub connections.
Declaration
IList<IUsedConnection> SubConnections { get; }
Property Value
| Type | Description |
|---|---|
| IList<IUsedConnection> |
Methods
GetDataProviderViewAsync(CancellationToken)
Returns the IDataProviderView when all SubConnections were successfully validated before.
Declaration
Task<IDataProviderView> GetDataProviderViewAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<IDataProviderView> |