Share via


AutoUpdateSetting Enum

Definition

Defines the automatic app update setting values that can be returned by the AutoUpdateSetting property of the AppInstallManager class.

public enum class AutoUpdateSetting
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AutoUpdateSetting
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AutoUpdateSetting
var value = Windows.ApplicationModel.Store.Preview.InstallControl.AutoUpdateSetting.disabled
Public Enum AutoUpdateSetting
Inheritance
AutoUpdateSetting
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
runFullTrust

Fields

Name Value Description
Disabled 0

Automatic app updates are disabled by the user.

Enabled 1

Automatic app updates are enabled by the user.

DisabledByPolicy 2

Automatic app updates are disabled by policy.

EnabledByPolicy 3

Automatic app updates are enabled by policy.

Applies to