Dela via


SMS_StatAttr 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_StatAttr Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a high-performance version of SMS_StatMsgAttributes Server WMI Class.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_StatAttr : SMS_BaseClass
{
      UInt32 AttributeID;
      DateTime AttributeTime;
      String AttributeValue;
      UInt32 RecordID;
};

Methods

The SMS_StatAttr class does not define any methods.

Properties

  • AttributeID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers:

    [key, ResID(202), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("AttributeID")]

    ID of the type of attribute that is defined by the AttributeValue property. See the AttributeID property of SMS_StatMsgAttributes Server WMI Class.

  • AttributeTime
    Data type: DateTime

    Access type: Read/Write

    Qualifiers: [ResID(204), ResDLL("SMS_RSTT.dll")]

    Date and time, in Universal Coordinated Time (UTC), when the message was generated.

  • AttributeValue
    Data type: String

    Access type: Read/Write

    Qualifiers: [ResID(203), ResDLL("SMS_RSTT.dll")]

    Attribute value that is determined by the type indicated by the AttributeID property.

  • RecordID
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [key, ResID(201), ResDLL("SMS_RSTT.dll")]

    Record ID of the status message with which the attribute is associated.

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.

Use this class to associate specific information with a message. The attribute data is not displayed in the message text. Typically, the attribute values are used to query for status messages that reference a particular object. For example, your application can query for the attribute that retrieves all the messages associated with a particular Configuration Manager package.

Each attribute is stored as an instance of this class. Your application can use the raise status message methods to add attribute values. To delete attribute values, the application deletes the associated status message.

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

Status Server WMI Classes
SMS_StatMsgAttributes Server WMI Class
Configuration Manager Status and Summarizers