IHubDestroyAppAsyncT Method (AsyncHandle, FuncResponse, T, String) |
Deletes an app from the Qlik Sense repository or from the file system.
** Using Qlik Sense Server **
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.
** Using Qlik Sense Desktop **
The app is deleted from the directory %userprofile%\Documents\Qlik\Sense\Apps.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax Task<T> DestroyAppAsync<T>(
AsyncHandle asyncHandle,
Func<Response, T> onResult,
string appId
)
Function DestroyAppAsync(Of T) (
asyncHandle As AsyncHandle,
onResult As Func(Of Response, T),
appId As String
) As Task(Of T)
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - onResult
- Type: SystemFuncResponse, T
Continuation function - 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.
Type Parameters
- T
Return Value
Type:
TaskTSee Also