The SMS_G_System_CI_ComplianceState Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents hardware inventory class objects for the compliance state of a configuration item.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_G_System_CI_ComplianceState : SMS_G_System { UInt32 CI_ID; String CI_UniqueID; UInt32 ComplianceState; String ComplianceStateName; UInt32 DesiredState; UInt32 IsApplicable; UInt32 IsDetected; UInt32 LastComplianceErrorID; String LocalizedDisplayName; UInt32 ResourceID; UInt32 SDMPackageVersion; }; |
Methods
The SMS_G_System_CI_ComplianceState 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: NoneThe unique ID of the configuration item. This ID is unique across sites.
- ComplianceState
- Data type: UInt32Access type: ReadQualifiers: NoneThe compliance state of the computer for the specified 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
- DesiredState
- Data type: UInt32Access type: ReadQualifiers: NoneDesired state of the configuration item on the computer.
- IsApplicable
- Data type: Uint32Access type: ReadQualifiers: NoneValue indicating if the configuration item is applicable to the computer.
- IsDetected
- Data type: UInt32Access type: ReadQualifiers: NoneValue indicating if the configuration item is detected on the computer.
- LastComplianceErrorID
- Data type: UInt32Access type: ReadQualifiers: None ID of the last compliance status error.
- LocalizedDisplayName
- Data type: StringAccess type: ReadQualifiers: NoneLocalized display name for the compliance state.
- 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, ResID(6201), ResDLL("SMS_RXPL.dll")]See SMS_G_System Server WMI Class.
- SDMPackageVersion
- Data type: UInt32Access type: ReadQualifiers: NoneVersion of the System Definition Model (SDM) package that is associated with the configuration item.
Remarks
Class qualifiers for this class include:
- 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.
Your application uses this class to update and determine the compliance state of the configuration item in the server database.
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
Reference
SMS_G_System Server WMI ClassConcepts
Desired Configuration Management Server WMI ClassesSend comments about this topic to Microsoft.