Retrieves the values of the specified 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)
public Task<IEnumerable<DataRecord>> GetDatabaseTablePreviewAsync(
string connectionId,
string database = null,
string owner = null,
string table,
string userHandle = null
)
public Task<IEnumerable<DataRecord>> GetDatabaseTablePreviewAsync(
string connectionId,
string database = null,
string owner = null,
string table,
string userHandle = null
)
Public Function GetDatabaseTablePreviewAsync (
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 DataRecord))
Public Function GetDatabaseTablePreviewAsync (
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 DataRecord))
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 DataRecord Implements
IApp GetDatabaseTablePreviewAsync(String, String, String, String, String)