IHubDestroyAppAsyncT Method (String, FuncResponse, T, AsyncHandle) |
Deletes an app from the Qlik Sense repository or from the file system.
** In server mode **
In addition to being removed from the repository, the app is removed from the directory as well:
<installation_directory>\Qlik\Sense\Repository\Apps
The default installation directory is ProgramData.
** In desktop mode **
The app is deleted from the directory %userprofile%\Documents\Qlik\Sense\Apps.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> DestroyAppAsync<T>(
string appId,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function DestroyAppAsync(Of T) (
appId As String,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- appId
- Type: SystemString
Identifier of the app to delete.
In server mode, the identifier of the app is a GUID in the Qlik Sense repository.
In desktop mode, the identifier of the app is the name of the app, as defined in the apps folder %userprofile%\Documents\Qlik\Sense\Apps.
This parameter is mandatory. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also