Partilhar via


SMS_CI_CurrentComplianceStatus 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_CI_CurrentComplianceStatus Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the compliance status for a baseline configuration item.

Class SMS_CI_CurrentComplianceStatus : SMS_BaseClass
{
      UInt32 CI_ID;
      String CI_UniqueID;
      UInt32 ComplianceState;
      String ComplianceStateName;
      String ComplianceStatusDetails;
      UInt32 ComplianceValidationRuleFailures;
      UInt32 DesiredState;
      UInt32 EnforcementAction;
      UInt32 EnforcementSource;
      UInt32 EnforcementState;
      String EnforcementStateName;
      Boolean IsApplicable;
      Boolean IsDetected;
      UInt32 LastComplianceErrorID;
      String LastComplianceMessageAssignment_UniqueID;
      DateTime LastComplianceMessageTime;
      UInt32 LastEnforcementErrorID;
      String LastEnforcementMessageAssignment_UniqueID;
      UInt32 LastEnforcementMessageID;
      DateTime LastEnforcementMessageTime;
      UInt32 MaxNoncomplianceCriticality;
      UInt32 ResourceID;
      UInt32 SDMPackageVersion;
};

Methods

The SMS_CI_CurrentComplianceStatus class does not define any methods.

Properties

  • CI_ID
    Data type: UInt32

    Access type: Read

    Qualifiers: [key]

    The unique ID of the configuration item. This ID is unique only for the site.

  • CI_UniqueID
    Data type: String

    Access type: Read

    Qualifiers: [unique]

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

  • ComplianceState
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The compliance state for the configuration item.

  • ComplianceStateName
    Data type: String

    Access type: Read

    Qualifiers: None

    The readable name of the compliance state. Possible values are:

    0

    Compliance State Unknown

    1

    Compliant

    2

    Non-Compliant

    4

    Error

  • ComplianceStatusDetails
    Data type: String

    Access type: Read

    Qualifiers: [lazy]

    The noncompliance detail report sent by the client in XML format.

  • ComplianceValidationRuleFailures
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The number of validation rule failures.

  • DesiredState
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Desired compliance state of the configuration item on the computer.

  • EnforcementAction
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The compliance enforcement action.

  • EnforcementSource
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Source of the enforcement action. Possible values are:

    0

    NONE

    1

    Configuration Manager

    2

    USER

    3

    NAP

  • EnforcementState
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The enforcement state. Possible values are:

    0

    Enforcement State Unknown

    1

    Enforcement started

    2

    Enforcement waiting for content

    3

    Waiting for another installation to complete

    4

    Waiting for maintenance window before installing

    5

    Restart required before installing

    6

    General failure

    7

    Pending installation

    8

    Installing update

    9

    Pending system restart

    10

    Successfully installed update

    11

    Failed to install update

    12

    Downloading update

    13

    Downloaded update

    14

    Failed to download update

  • EnforcementStateName
    Data type: String

    Access type: Read

    Qualifiers: None

    The name of the enforcement state.

  • IsApplicable
    Data type: Boolean

    Access type: Read

    Qualifiers: None

    true if the configuration item is applicable on the computer.

  • IsDetected
    Data type: Boolean

    Access type: Read

    Qualifiers: None

    true if the configuration item is detected on the computer.

  • LastComplianceErrorID
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The ID of the last compliance state error.

  • LastComplianceMessageAssignment_UniqueID
    Data type: String

    Access type: Read

    Qualifiers: None

    The unique ID of the last compliance state message assignment.

  • LastComplianceMessageTime
    Data type: DateTime

    Access type: Read

    Qualifiers: None

    Date and time of the last compliance state message.

  • LastEnforcementErrorID
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The status message ID of the last enforcement failure.

  • LastEnforcementMessageAssignment_UniqueID
    Data type: String

    Access type: Read

    Qualifiers: None

    The unique ID of the last enforcement state message assignment.

  • LastEnforcementMessageID
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The ID of the last enforcement state message received.

  • LastEnforcementMessageTime
    Data type: DateTime

    Access type: Read

    Qualifiers: None

    Date and time of the last enforcement state message.

  • MaxNoncomplianceCriticality
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    The maximum noncompliance severity reported by the client for the configuration item.

  • ResourceID
    Data type: UInt32

    Access type: Read

    Qualifiers: [key]

    The unique ID of the resource for the configuration item.

  • SDMPackageVersion
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    System Definition Model (SDM) content version of the configuration item.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

  • Secured

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

Your application uses this class for compliance monitoring for a baseline configuration item.

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

Desired Configuration Management Server WMI Classes