Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackageManager.RemovePackageAsync(String, RemovalOptions) | removePackageAsync(String, RemovalOptions) method

Applies to Windows only

Removes a package for the current user asynchronously and receives progress and status messages on the removal operation. Dependency packages are also removed for the user if no other packages installed for the user depend on them.

Syntax


packageManager.removePackageAsync(packageFullName, removalOptions).done( /* Your success and error handlers */ );

Parameters

packageFullName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string representation of the package identity to identify the package to be removed.

removalOptions

Type: RemovalOptions

A RemovalOptions-typed value that modifies the removal operation.

Return value

Type: IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress>

A pointer that receives the address of an object that implements the IAsyncOperationWithProgress interface.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Management.Deployment
Windows::Management::Deployment [C++]

Metadata

Windows.winmd

See also

PackageManager
RemovePackageAsync(String)

 

 

Show:
© 2014 Microsoft