A Sandcastle Documented Class Library

# RelationalDataProvider DiscoverColumns Method

Discovers the columns for the specified query object.

Namespace: Dundas.BI.Data.DataProviders.Relational
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public virtual IList<IDataElement> DiscoverColumns(
    	IDisposable connection,
    	QueryDefinition query
    )

    Public Overridable Function DiscoverColumns (
    	connection As IDisposable,
    	query As QueryDefinition
    ) As IList(Of IDataElement)

    public:
    virtual IList<IDataElement^>^ DiscoverColumns(
    	IDisposable^ connection,
    	QueryDefinition^ query
    )

    abstract DiscoverColumns :
            connection : IDisposable *
            query : QueryDefinition -> IList<IDataElement>
    override DiscoverColumns :
            connection : IDisposable *
            query : QueryDefinition -> IList<IDataElement>

#### Parameters

connection
  Type: System
  IDisposable
  Opened connection.
query
  Type: Dundas.BI.Data.DataProviders
  QueryDefinition
  The query definition.

#### Return Value

Type: IList
IDataElement
The columns.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | connection or query is .

See Also

#### Reference

RelationalDataProvider Class
Dundas.BI.Data.DataProviders.Relational Namespace