Share via


Query.dataSourceTable Method

Definition

Overloads

dataSourceTable(Int32)

Returns the data source that the specified table is assigned to.

dataSourceTable(Int32, Int32)

dataSourceTable(Int32)

Returns the data source that the specified table is assigned to.

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ dataSourceTable(int num1);
public virtual Dynamics.AX.Application.QueryBuildDataSource dataSourceTable (int num1);
abstract member dataSourceTable : int -> Dynamics.AX.Application.QueryBuildDataSource
override this.dataSourceTable : int -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function dataSourceTable (num1 As Integer) As QueryBuildDataSource

Parameters

num1
Int32

Returns

The data source that the specified table is assigned to.

Remarks

The data source can also be retrieved by calling the dataSourceNo method or the dataSourceName method.

Applies to

dataSourceTable(Int32, Int32)

public:
 virtual Dynamics::AX::Application::QueryBuildDataSource ^ dataSourceTable(int _table, int _occurrence);
public virtual Dynamics.AX.Application.QueryBuildDataSource dataSourceTable (int _table, int _occurrence);
abstract member dataSourceTable : int * int -> Dynamics.AX.Application.QueryBuildDataSource
override this.dataSourceTable : int * int -> Dynamics.AX.Application.QueryBuildDataSource
Public Overridable Function dataSourceTable (_table As Integer, _occurrence As Integer) As QueryBuildDataSource

Parameters

_table
Int32

An integer that is used when more than one data source uses the specified table ID; optional. The default value is 1, which specifies the first (and typically only) instance.

_occurrence
Int32

An integer that is used when more than one data source uses the specified table ID; optional. The default value is 1, which specifies the first (and typically only) instance.

Returns

Applies to