共用方式為


MDM_Updates class

Provides access to Windows Update policies.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("MDMSettingsProv"), AMENDMENT]
class MDM_Updates
{
  uint32 key;
  uint32 AutoUpdatePolicy;
};

Members

The MDM_Updates class has these types of members:

Properties

The MDM_Updates class has these properties.

AutoUpdatePolicy

Data type: uint32

Access type: Read-only

Gets or sets the policy for the regular application of Windows updates.

The following list shows the possible values.

None (0)

Do not regularly apply Windows updates.

Important (1)

Regularly apply important Windows updates.

Recommended (2)

Regularly apply recommended Windows updates.

key

Data type: uint32

Access type: Read-only

Qualifiers: key

Identifies the instance of the MDM_Updates class.

Requirements

Minimum supported client
Windows 8.1
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM
MOF
MDMSettingsProv.mof
DLL
MDMSettingsProv.dll