Click or drag to resize
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.Engine
Assembly: 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
)

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: TaskIEnumerableDataRecord
See Also