AppInstallerPolicySource Enum
Definition
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.
Specifies the whether the source of the update policy for an app.
public enum class AppInstallerPolicySource
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
enum class AppInstallerPolicySource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
public enum AppInstallerPolicySource
var value = Windows.ApplicationModel.AppInstallerPolicySource.default
Public Enum AppInstallerPolicySource
- Inheritance
-
AppInstallerPolicySource
- Attributes
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Fields
Name | Value | Description |
---|---|---|
Default | 0 | Default policy source. |
System | 1 | System policy source. |
Remarks
The policy source is Default if the policy was set using AppInstallerManager.GetDefault. The policy source is System if the policy was set using AppInstallerManager.GetForSystem. If a policy was set from a System source, then any of the AppInstallerManager methods acting on that PackageFamilyName must also be called from a System source.