DataConnectorGetReader Method |
Executes the relational query.
Namespace:
Dundas.BI.Entities.DataConnectors
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntaxpublic Reader GetReader(
IDisposable connection,
QueryDefinition query
)
Public Function GetReader (
connection As IDisposable,
query As QueryDefinition
) As Reader
public:
Reader^ GetReader(
IDisposable^ connection,
QueryDefinition^ query
)
member GetReader :
connection : IDisposable *
query : QueryDefinition -> Reader
Parameters
- connection
- Type: SystemIDisposable
Database connection. If , the new connection is created. - query
- Type: Dundas.BI.Data.DataProvidersQueryDefinition
The query definition.
Return Value
Type:
ReaderThe data reader.
Exceptions| Exception | Condition |
|---|
| DataConnectionException | The provider may throw this exception if it cannot establish the connection. |
See Also