RemovalOptions enumeration

Applies to Windows and Windows Phone

Values that modify the removal of a package.

Syntax


var value = Windows.Management.Deployment.RemovalOptions.none;

Attributes

[Flags()]
[Version(0x06030000)]

Members

The RemovalOptions enumeration has these members.

MemberValueDescription
None | none0

No removal options are specified. This is the default deployment behavior.

PreserveApplicationData | preserveApplicationData4096

Don't remove any application data when the package is removed. This can only apply to packages that were deployed with the DeploymentOptions::DevelopmentMode value. If you specify PreserveApplicationData on an incompatible package, PackageManager::RemovePackageAsync(String, RemovalOptions) returns E_INVALIDARG.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

PackageManager::RemovePackageAsync(String, RemovalOptions)

 

 

Show:
© 2014 Microsoft