AppGetFileTablePreviewAsyncT Method (String, String, FileDataFormat, String, FuncResponse, T, AsyncHandle) |
Lists the values in a table for a folder connection.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax public Task<T> GetFileTablePreviewAsync<T>(
string connectionId,
string relativePath = null,
FileDataFormat dataFormat,
string table,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Public Function GetFileTablePreviewAsync(Of T) (
connectionId As String,
Optional relativePath As String = Nothing,
dataFormat As FileDataFormat,
table As String,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- connectionId
- Type: SystemString
Identifier of the connection.
This parameter is mandatory. - relativePath (Optional)
- Type: SystemString
Path of the connection file
This parameter is optional. - dataFormat
- Type: Qlik.EngineFileDataFormat
Type of the file. - table
- Type: SystemString
Name of the table
This parameter must be set for XLS, XLSX, HTML and XML files. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTImplements
IAppGetFileTablePreviewAsyncT(String, String, FileDataFormat, String, FuncResponse, T, AsyncHandle)See Also