Click or drag to resize
IAppGetDatabaseTablePreviewAsync Method (AsyncHandle, String, String, String, String)

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: 2.1.0.0+Build:7.origin/release/ms13
Syntax
Task<IEnumerable<DataRecord>> GetDatabaseTablePreviewAsync(
	AsyncHandle asyncHandle,
	string connectionId,
	string database = null,
	string owner = null,
	string table
)

Parameters

asyncHandle
Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request
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.

Return Value

Type: TaskIEnumerableDataRecord
See Also