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: UInt32Access type: ReadQualifiers: [key]The unique ID of the configuration item. This ID is unique only for the site.
CI_UniqueID


Data type: StringAccess type: ReadQualifiers: [unique]The unique ID of the configuration item. This ID is unique across sites.
ComplianceState


Data type: UInt32Access type: ReadQualifiers: NoneThe compliance state for the configuration item.
ComplianceStateName


Data type: StringAccess type: ReadQualifiers: NoneThe readable name of the compliance state. Possible values are:

0

Compliance State Unknown

1

Compliant

2

Non-Compliant

4

Error

ComplianceStatusDetails


Data type: StringAccess type: ReadQualifiers: [lazy]The noncompliance detail report sent by the client in XML format.
ComplianceValidationRuleFailures


Data type: UInt32Access type: ReadQualifiers: NoneThe number of validation rule failures.
DesiredState


Data type: UInt32Access type: ReadQualifiers: NoneDesired compliance state of the configuration item on the computer.
EnforcementAction


Data type: UInt32Access type: ReadQualifiers: NoneThe compliance enforcement action.
EnforcementSource


Data type: UInt32Access type: ReadQualifiers: NoneSource of the enforcement action. Possible values are:

0

NONE

1

Configuration Manager

2

USER

3

NAP

EnforcementState


Data type: UInt32Access type: ReadQualifiers: NoneThe 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: StringAccess type: ReadQualifiers: NoneThe name of the enforcement state.
IsApplicable


Data type: BooleanAccess type: ReadQualifiers: Nonetrue if the configuration item is applicable on the computer.
IsDetected


Data type: BooleanAccess type: ReadQualifiers: Nonetrue if the configuration item is detected on the computer.
LastComplianceErrorID


Data type: UInt32Access type: ReadQualifiers: NoneThe ID of the last compliance state error.
LastComplianceMessageAssignment_UniqueID


Data type: StringAccess type: ReadQualifiers: NoneThe unique ID of the last compliance state message assignment.
LastComplianceMessageTime


Data type: DateTimeAccess type: ReadQualifiers: NoneDate and time of the last compliance state message.
LastEnforcementErrorID


Data type: UInt32Access type: ReadQualifiers: NoneThe status message ID of the last enforcement failure.
LastEnforcementMessageAssignment_UniqueID


Data type: StringAccess type: ReadQualifiers: NoneThe unique ID of the last enforcement state message assignment.
LastEnforcementMessageID


Data type: UInt32Access type: ReadQualifiers: NoneThe ID of the last enforcement state message received.
LastEnforcementMessageTime


Data type: DateTimeAccess type: ReadQualifiers: NoneDate and time of the last enforcement state message.
MaxNoncomplianceCriticality


Data type: UInt32Access type: ReadQualifiers: NoneThe maximum noncompliance severity reported by the client for the configuration item.
ResourceID


Data type: UInt32Access type: ReadQualifiers: [key]The unique ID of the resource for the configuration item.
SDMPackageVersion


Data type: UInt32Access type: ReadQualifiers: NoneSystem 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

Development Requirements

See Also


Send comments about this topic to Microsoft.