Share via


WindowsUpdateAdministratorStatus Enum

Definition

Defines constants that specify status codes to indicate whether the registration/unregistration of a Windows update administrator succeeded.

public enum class WindowsUpdateAdministratorStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Update.WindowsUpdateContract, 65536)]
enum class WindowsUpdateAdministratorStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Update.WindowsUpdateContract), 65536)]
public enum WindowsUpdateAdministratorStatus
var value = Windows.Management.Update.WindowsUpdateAdministratorStatus.succeeded
Public Enum WindowsUpdateAdministratorStatus
Inheritance
WindowsUpdateAdministratorStatus
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
Succeeded 0

The requested operation completed successfully.

NoAdministratorRegistered 1

The operation failed due to no Windows Update administrator being previously registered.

OtherAdministratorIsRegistered 2

The operation failed due to another Windows Update administrator already being registered.

Applies to