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: UInt32Access type: Read/WriteQualifiers: [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: DateTimeAccess type: Read/WriteQualifiers: [ResID(204), ResDLL("SMS_RSTT.dll")]Date and time, in Universal Coordinated Time (UTC), when the message was generated.
AttributeValue


Data type: StringAccess type: Read/WriteQualifiers: [ResID(203), ResDLL("SMS_RSTT.dll")]Attribute value that is determined by the type indicated by the AttributeID property.
RecordID


Data type: UInt32Access type: Read/WriteQualifiers: [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

Development Requirements

See Also


Send comments about this topic to Microsoft.