SMS_StatMsgAttributes Server WMI Class

System Center

Updated: October 28, 2009

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_StatMsgAttributes Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents optional data associated with a status message.

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


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

The SMS_StatMsgAttributes class does not define any methods.

AttributeID
Data type: UInt32

Access type: Read/Write

Qualifiers:

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

Type of attribute that is defined by the AttributeValue property. Possible values are:

 

400

Package ID

401

Advertisement ID

402

Collection ID

403

User Name

404

Distribution Point

405

Policy ID

406

Policy Assignment ID

407

Software Metering Rule ID

408

Client SMS Unique ID

409

Site Code

410

Package Version

411

Time Key

412

Unique Update ID

413

Product ID

414

CI Assignment ID

415

Object ID

416

Object Type

417

Sdm Type ID

418

Sdm Type Version

419

UpdateSourceUniqueID

420

Collection Extended Properties ID

421

Wake On LAN Object Type

422

Wake On LAN Batch ID

423

Machine Extended Properties ID

424

Wake On LAN Number of Requests

AttributeTime
Data type: DateTime

Access type: Read/Write

Qualifiers: [key, 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: [key, ResID(203), ResDLL("SMS_RSTT.dll")]

Attribute value having content that is determined 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.

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.

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.

noteNote
Use the SMS_StatAttr Server WMI Class for a high-performance version of this class.

Runtime Requirements

Development Requirements

Show: