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.EngineAssembly: 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
)
Function GetDatabaseTablePreviewAsync (
asyncHandle As AsyncHandle,
connectionId As String,
Optional database As String = Nothing,
Optional owner As String = Nothing,
table As String
) As Task(Of IEnumerable(Of DataRecord))
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:
TaskIEnumerableDataRecordSee Also