PackageManager.DeprovisionPackageForAllUsersAsync(String) PackageManager.DeprovisionPackageForAllUsersAsync(String) PackageManager.DeprovisionPackageForAllUsersAsync(String) PackageManager.DeprovisionPackageForAllUsersAsync(String) Method

Definition

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

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> DeprovisionPackageForAllUsersAsync(Platform::String packageFamilyName)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> DeprovisionPackageForAllUsersAsync(winrt::hstring packageFamilyName) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> DeprovisionPackageForAllUsersAsync(String packageFamilyName)
Public Function DeprovisionPackageForAllUsersAsync(packageFamilyName As String) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageFamilyName
String String

The package family name of the package to be deprovisioned.

Returns

Additional features and requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

See also