Partilhar via


SMS_G_System_CI_ComplianceState 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_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: 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: None

    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 of the computer for the specified 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

  • DesiredState
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Desired state of the configuration item on the computer.

  • IsApplicable
    Data type: Uint32

    Access type: Read

    Qualifiers: None

    Value indicating if the configuration item is applicable to the computer.

  • IsDetected
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Value indicating if the configuration item is detected on the computer.

  • LastComplianceErrorID
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    ID of the last compliance status error.

  • LocalizedDisplayName
    Data type: String

    Access type: Read

    Qualifiers: None

    Localized display name for the compliance state.

  • MaxNoncomplianceCriticality
    Data type: UInt32

    Access type: Read

    Qualifiers: None

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

  • SDMPackageVersion
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Version 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

Concepts

Desired Configuration Management Server WMI Classes
SMS_G_System Server WMI Class