IAppGetConnectionAsyncT Method (AsyncHandle, FuncResponse, T, String) |
Retrieves a connection and returns:
* The creation time of the connection
* The identifier of the connection
* The type of the connection
* The name of the connection
* The connection string
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> GetConnectionAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string connectionId
)
Function GetConnectionAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
connectionId As String
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - connectionId
- Type: SystemString
Identifier of the connection.
This parameter is mandatory.
Type Parameters
- T
Return Value
Type:
TaskTSee Also