PolicyUpdateResultCode 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.
public enum PolicyUpdateResultCode
type PolicyUpdateResultCode =
- Inheritance
-
PolicyUpdateResultCode
Fields
| Name | Value | Description |
|---|---|---|
| FailureUnknown | -1 | Result code to indicate that the policy has not been enforced or has changed for an unknown reason. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PolicySet | 0 | Result code to indicate that the policy has been changed to the desired value set by the admin. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FailureConflictingAdminPolicy | 1 | Result code to indicate that the policy has not been enforced or has changed because another admin has set a conflicting policy on the device. The system will automatically try to enforce the policy when it can without additional calls from the admin. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| PolicyCleared | 2 | Result code to indicate that the policy set by the admin has been successfully cleared, admins will no longer receive policy updates for this policy after this point. Note that the policy can still be enforced by some other admin. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FailureStorageLimitReached | 3 | Result code to indicate that the policy set by the admin has not been enforced because the local storage has reached its max limit. The system will NOT try to automatically store and enforce this policy again. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FailureHardwareLimitation | 4 | Result code to indicate that the policy set by the admin has not been enforced because of a permanent hardware limitation/issue. The system will NOT try to automatically store and enforce this policy again. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |