Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PackageManager.DeprovisionPackageForAllUsersAsync(String) Method
Definition
- Namespace:
- Windows.Management.Deployment
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Requirements | Description |
|---|---|
| Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
The caller of this method must have administrator privilege.
Applies to
See also
Feedback
Was this page helpful?
