Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Task<IEnumerable<DataField>> GetDatabaseTableFieldsAsync(
string connectionId,
string database = null,
string owner = null,
string table,
string userHandle = null
)
Task<IEnumerable<DataField>> GetDatabaseTableFieldsAsync(
string connectionId,
string database = null,
string owner = null,
string table,
string userHandle = null
)
Function GetDatabaseTableFieldsAsync (
connectionId As String,
Optional database As String = Nothing,
Optional owner As String = Nothing,
table As String,
Optional userHandle As String = Nothing
) As Task(Of IEnumerable(Of DataField))
Function GetDatabaseTableFieldsAsync (
connectionId As String,
Optional database As String = Nothing,
Optional owner As String = Nothing,
table As String,
Optional userHandle As String = Nothing
) As Task(Of IEnumerable(Of DataField))
Parameters
- connectionId
- Type:
System String
Identifier of the connection
This parameter is mandatory.
- database (Optional)
- Type:
System String
Name of the database
This parameter is optional.
If qDatabase is not set then qOwner must be set.
- owner (Optional)
- Type:
System String
Owner of the database
This parameter is optional.
If qOwner is not set then qDatabase must be set.
- table
- Type:
System String
Name of the table
This parameter is mandatory.
- userHandle (Optional)
- Type:
System String
Handle identifier
Return Value
Type:
Task
IEnumerable DataField