Edit

IAppxStreamingDataSource4::Remove method

Cancels any outstanding Run calls (causing them to return), and removes the package contents. This call also allows the removal of orphaned package roots where there's no corresponding staterepo entry. That's necessary in order to take care of operating system (OS) uninstall scenarios where the old OS package root can be left around for a period without the corresponding package in staterepo.

Syntax

HRESULT Remove(
  [in, string] LPCWSTR packageFullName
);

Parameters

packageFullName

The package full name.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
DLL AppxStreamingDataSourcePS.dll