The SMS_CI_ComplianceHistory Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that provides the compliance history for both configuration items and configuration baselines.

Class SMS_CI_ComplianceHistory : SMS_BaseClass
{
	UInt32 CI_ID;
	String CI_UniqueID;
	UInt32 CIVersion; 
	DateTime ComplianceEndDate;
	DateTime ComplianceStartDate;
	UInt32 ComplianceValidationRuleFailures;
	UInt32 DesiredState;
	Boolean IsApplicable;
	Boolean IsCompliant;
	Boolean IsDetected;
	UInt32 MaxNoncomplianceCriticality; 
	String ModelName;
	UInt32 ResourceID;
	UInt32 SDMPackageVersion; 
	String UserName;
};

Methods

The SMS_CI_ComplianceHistory class does not define any methods.

Properties

CI_ID

Data type: Uint32Access type: Read-onlyQualifiers: [key, read]The unique ID of the configuration item. This ID is unique only for the site.
CI_UniqueID

Data type: StringAccess type: ReadQualifiers: NoneThe unique ID of the configuration item. This ID is unique across sites.
CIVersion

Data type: UInt32Access type: Read/Write Qualifiers: noneVersion of the configuration item.
ComplianceEndDate

Data type: DateTimeAccess type: ReadQualifiers: NoneThe end date from which a Configuration Item was compliant, non-compliant or error. See corresponding start date in ComplianceStartDate.
ComplianceStartDate

Data type: DateTimeAccess type: Read-onlyQualifiers: [key, read]The start date from which a Configuration Item was compliant, non-compliant or error. See corresponding end date in ComplianceEndDate.
ComplianceValidationRuleFailures

Data type: UInt32Access type: ReadQualifiers: NoneNumber of validation rule failures.
DesiredState

Data type: UInt32Access type: ReadQualifiers: NoneThe resolved state in the context of Applications. Whether the Application was intended to be installed, uninstalled and so on.
IsApplicable

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

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

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

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

Data type: StringAccess type: Read/Write Qualifiers: noneModel Name of the configuration item.
ResourceID

Data type: UInt32Access type: Read-onlyQualifiers: [key, read]The unique ID of the resource for the configuration item.
SDMPackageVersion

Data type: UInt32Access type: ReadQualifiers: NoneThis property is deprecated. In System Center 2012 R2 Configuration Manageronly the Configuration Item version is used.
UserName

Data type: StringAccess type: Read-only Qualifiers: [key, read]User name.

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 configuration item.

Requirements

Runtime Requirements

Development Requirements

See Also