IAppGetDatabaseTablePreviewAsync Method (String, String, String, String, AsyncHandle) |
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.1.0.0 (1.1.0.0)
Syntax Task<IEnumerable<DataRecord>> GetDatabaseTablePreviewAsync(
string connectionId,
string database = null,
string owner = null,
string table,
AsyncHandle asyncHandle = null
)
Function GetDatabaseTablePreviewAsync (
connectionId As String,
Optional database As String = Nothing,
Optional owner As String = Nothing,
table As String,
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of IEnumerable(Of DataRecord))
Parameters
- connectionId
- Type: SystemString
Identifier of the connection.
This parameter is mandatory. - database (Optional)
- Type: SystemString
Name of the database.
This parameter is optional.
If qDatabase is not set then qOwner must be set. - owner (Optional)
- Type: SystemString
Owner of the database.
This parameter is optional.
If qOwner is not set then qDatabase must be set. - table
- Type: SystemString
Name of the table.
This parameter is mandatory. - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Return Value
Type:
TaskIEnumerableDataRecordSee Also