Share via


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

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

Class SMS_StatMsg : SMS_BaseClass
{
      String Component;
      String MachineName;
      UInt32 MessageID;
      UInt32 MessageType;
      String ModuleName;
      UInt32 PerClient;
      UInt32 ProcessID;
      UInt32 RecordID;
      UInt32 ReportFunction;
      UInt32 Severity;
      String SiteCode;
      UInt32 SuccessfulTransaction;
      UInt32 ThreadID;
      DateTime Time;
      String TopLevelSiteCode;
      UInt32 Transaction;
      UInt32 Win32Error;
};

Methods

The SMS_StatMsg class does not define any methods. None of the SMS_StatusMessage methods are supported.

Properties

  • Component
    Data type: String

    Access type: Read/Write

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

    Name of the component that created the message. For user-defined messages, this name comes from the ApplicationName context qualifier that you must set before calling a raise status message method.

  • MachineName
    Data type: String

    Access type: Read/Write

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

    Name of the computer that created the message. For user-defined messages, this name comes from the MachineName context qualifier that you must set before calling a raise status message method.

  • MessageID
    Data type: UInt32

    Access type: Read/Write

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

    Unique ID of message text in a message DLL. See the MessageID property of SMS_StatusMessage Server WMI Class.

  • MessageType
    Data type: UInt32

    Access type: Read/Write

    Qualifiers:

    [ResID(109), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("MessageType")]

    Type of message. See the MessageType property of SMS_StatusMessage Server WMI Class.

  • ModuleName
    Data type: String

    Access type: Read/Write

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

    The DLL that is associated with the status message to raise. This is not the name of the DLL itself, but it is a display string corresponding to the ModuleName property value defined in the SMS_StatMsgModuleNames Server WMI Class class. You use the ModuleName value to get the DLL name.

  • PerClient
    Data type: UInt32

    Access type: Read/Write

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

    Value indicating if the status message was generated by a client component. See the PerClient property of SMS_StatusMessage Server WMI Class.

  • ProcessID
    Data type: UInt32

    Access type: Read/Write

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

    ID of the process that created the message.

  • RecordID
    Data type: UInt32

    Access type: Read/Write

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

    Unique ID of the status message.

  • ReportFunction
    Data type: UInt32

    Access type: Read/Write

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

    Report function. See the ReportFunction property of SMS_StatusMessage Server WMI Class.

  • Severity
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [ResID(103), ResDLL("SMS_RSTT.dll"), ResIDValueLookup("Severity")]

    Type of status message. See the Severity property of SMS_StatusMessage Server WMI Class.

  • SiteCode
    Data type: String

    Access type: Read/Write

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

    Site code of the site that created the message.

  • SuccessfulTransaction
    Data type: UInt32

    Access type: Read/Write

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

    Value indicating transaction status. See the SuccessfulTransaction property of SMS_StatusMessage Server WMI Class.

  • ThreadID
    Data type: UInt32

    Access type: Read/Write

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

    ID of the thread that created the message.

  • Time
    Data type: DateTime

    Access type: Read/Write

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

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

  • TopLevelSiteCode
    Data type: String

    Access type: Read/Write

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

    Site code of the top site to which the message can be replicated.

  • Transaction
    Data type: UInt32

    Access type: Read/Write

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

    Value indicating whether transactions are enabled. See the Transaction property of SMS_StatusMessage Server WMI Class.

  • Win32Error
    Data type: UInt32

    Access type: Read/Write

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

    Win32 error code that is associated with the status message.

Remarks

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.

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_StatusMessage Server WMI Class