Partager via


SMS_UpdateComplianceStatus Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: UInt32

    Access type: Read-only

    Qualifiers: [read, key, not_null]

    The ID of the software update configuration item. This ID is not unique across sites.

  • EnforcementSource
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read]

    Source of the compliance enforcement action. Possible values are:

    0

    NONE

    1

    SMS

    2

    USER

    3

    NAP

  • LastEnforcementMessageID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read]

    The ID of the last enforcement state message received.

  • LastEnforcementMessageName
    Data type: String

    Access type: Read-only

    Qualifiers: [read]

    The name of the last enforcement state message.

  • LastEnforcementMessageTime
    Data type: DateTime

    Access type: Read-only

    Qualifiers: [read]

    Date and time of the last enforcement state message.

  • LastEnforcementStatusMsgID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read]

    The ID of the last enforcement status message received.

  • LastStatusChangeTime
    Data type: DateTime

    Access type: Read-only

    Qualifiers: [read]

    The date and time of the last compliance status change.

  • LastStatusCheckTime
    Data type: DateTime

    Access type: Read-only

    Qualifiers: [read]

    The date and time of the last compliance status check.

  • MachineID
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [read, key, not_null]

    The ID of the target computer.

  • Status
    Data type: UInt32

    Access type: Read-only

    Qualifiers: [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

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Concepts

Software Updates Server WMI Classes
Configuration Manager Software Updates
Software Updates Overview
About Configuration Baselines and Configuration Items