Share via


SMS_StatMsgInsStrings

The SMS_StatMsgInsStrings WMI class represents insertion strings that are inserted into the status message. This class contains insertion strings for SMS component messages and user-defined messages that were created using the RaiseRawStatusMsg method.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_StatMsgInsStrings : SMS_BaseClass
{
  uint32 InsStrIndex;
  string InsStrValue;
  uint32 RecordID;
};

Properties

  • InsStrIndex
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    Defines the order of the insertion strings, which directly relates to the insertion points in the status message.

  • InsStrValue
    Data type: string
    Access type: Read-only

    Text to insert into the insertion point.

  • RecordID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    Record identifier of the status message to which this insertion point belongs.

Remarks

You use the RaiseRawStatusMsg method to add insertion strings.

To delete insertion strings, you delete the associated status message, which in turn deletes the insertion string instances.

See Also

SMS_StatMsgAttributes, SMS_StatusMessage, Reading Status Messages, Using Status Messages, Status Classes