A Sandcastle Documented Class Library

# QueryRelationalTask CreateQueryTask Method

Creates the relational query task.

Namespace: Dundas.BI.Data.DataProviders.Tasks
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 static QueryRelationalTask CreateQueryTask(
    	ProviderTask task,
    	RelationalDataProvider dataProvider
    )

    Public Shared Function CreateQueryTask (
    	task As ProviderTask,
    	dataProvider As RelationalDataProvider
    ) As QueryRelationalTask

    public:
    static QueryRelationalTask^ CreateQueryTask(
    	ProviderTask^ task,
    	RelationalDataProvider^ dataProvider
    )

    static member CreateQueryTask :
            task : ProviderTask *
            dataProvider : RelationalDataProvider -> QueryRelationalTask

#### Parameters

task
  Type: Dundas.BI.Data.DataProviders.Tasks
  ProviderTask
  The input task.
dataProvider
  Type: Dundas.BI.Data.DataProviders.Relational
  RelationalDataProvider
  The data provider.

#### Return Value

Type: QueryRelationalTask
The relational query task.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | task and/or dataProvider is .

See Also

#### Reference

QueryRelationalTask Class
Dundas.BI.Data.DataProviders.Tasks Namespace