Jaa


PackageManager.DeprovisionPackageForAllUsersAsync(String) Method

Definition

Deprovisions an app Package so new users on the device will no longer have the app automatically installed.

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ DeprovisionPackageForAllUsersAsync(Platform::String ^ packageFamilyName) = DeprovisionPackageForAllUsersAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> DeprovisionPackageForAllUsersAsync(winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> DeprovisionPackageForAllUsersAsync(string packageFamilyName);
function deprovisionPackageForAllUsersAsync(packageFamilyName)
Public Function DeprovisionPackageForAllUsersAsync (packageFamilyName As String) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

Parameters

packageFamilyName
String

Platform::String

winrt::hstring

The package family name of the package to be deprovisioned.

Returns

An async operation with the current DeploymentProgress status.

Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to

See also