WindowsUpdateAdministratorOptions 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.
Defines constants that specify the administrator options that the caller wants control over when registering with RegisterForAdministration.
This enumeration supports a bitwise combination of its member values.
public enum class WindowsUpdateAdministratorOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Update.WindowsUpdateContract, 65536)]
enum class WindowsUpdateAdministratorOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Update.WindowsUpdateContract), 65536)]
public enum WindowsUpdateAdministratorOptions
var value = Windows.Management.Update.WindowsUpdateAdministratorOptions.none
Public Enum WindowsUpdateAdministratorOptions
- Inheritance
-
WindowsUpdateAdministratorOptions
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
|
API contract |
Windows.Management.Update.WindowsUpdateContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | No additional controls are requested for preventing update activity. |
RequireAdministratorApprovalForScans | 1 | Background scan activity will be blocked without explicit approval via StartAdministratorScan. |
RequireAdministratorApprovalForUpdates | 2 | Updates will not be permitted to proceed without explicit approval via ApproveWindowsUpdate. |
RequireAdministratorApprovalForActions | 4 | Update actions will not be permitted to proceed without explicit approval via ApproveWindowsUpdateAction. |
Remarks
These options can be combined using bitwise OR to set a combination of flags when registering a Windows Update administrator.