The SMS_UpdateComplianceStatus Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the client computer compliance status for software updates.

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

Class SMS_UpdateComplianceStatus : SMS_BaseClass
{
	UInt32 CI_ID;
	UInt32 EnforcementSource;
	UInt32 LastEnforcementMessageID;
	String LastEnforcementMessageName;
	DateTime LastEnforcementMessageTime;
	UInt32 LastEnforcementStatusMsgID;
	DateTime LastStatusChangeTime;
	DateTime LastStatusCheckTime;
	UInt32 MachineID;
	UInt32 Status;
};

Methods

The SMS_UpdateComplianceStatus class does not define any methods.

Properties

CI_ID


Data type: UInt32Access type: Read-onlyQualifiers: [read, key, not_null]The ID of the software update configuration item. This ID is not unique across sites.
EnforcementSource


Data type: UInt32Access type: Read-onlyQualifiers: [read]Source of the compliance enforcement action. Possible values are:

0

NONE

1

SMS

2

USER

3

NAP

LastEnforcementMessageID


Data type: UInt32Access type: Read-onlyQualifiers: [read]The ID of the last enforcement state message received.
LastEnforcementMessageName


Data type: StringAccess type: Read-onlyQualifiers: [read]The name of the last enforcement state message.
LastEnforcementMessageTime


Data type: DateTimeAccess type: Read-onlyQualifiers: [read]Date and time of the last enforcement state message.
LastEnforcementStatusMsgID


Data type: UInt32Access type: Read-onlyQualifiers: [read]The ID of the last enforcement status message received.
LastStatusChangeTime


Data type: DateTimeAccess type: Read-onlyQualifiers: [read]The date and time of the last compliance status change.
LastStatusCheckTime


Data type: DateTimeAccess type: Read-onlyQualifiers: [read]The date and time of the last compliance status check.
MachineID


Data type: UInt32Access type: Read-onlyQualifiers: [read, key, not_null]The ID of the target computer.
Status


Data type: UInt32Access type: Read-onlyQualifiers: [read, not_null]The status of the target computer.

Remarks

Class qualifiers for this class include:

  • Secured

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

See About Configuration Baselines and Configuration Items for a discussion of compliance.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.