Status Message Class

The SMS_StatusMessage class represents a status message generated by the SMS site server to provide information about a variety of events including process completion, errors, conditions, and user actions. This class represents status message instances reported by the SMS site server and client components.

Table B.70 Status Message Class (SMS_StatusMessage)

PropertyData typeExampleNotes
Componentstring"SMS_
EXECUTIVE"
Indicates the name of the SMS component that created the message.
MachineNamestring"GREEN1"Indicates the name of the computer that created the message.
MessageIDuint321100Indicates a unique numeric identifier for this status message object. Range: 0-65535. This number is added to the Severity number to create a “string ID” that is used to index into a DLL of template strings.
MessageTypeuint32256Indicates the type of message.

Values are:
256 = Milestone
512 = Detail
768 = Audit
1024 = NTEvent

ModuleNamestring"SMS Server"Indicates the name of the DLL that contains the string templates. This property is not actually the file name of the DLL, but a display string corresponding to the Source column in the Windows NT Event viewer. To find the file name, you can look up this ModuleName in the class SMS_StatMsgModuleNames.
PerClientuint320The value is true if the status message was generated by a client component. Messages generated on a per-client basis tend to be quite numerous, so this property provides an easy way to filter them out.

Values are:
0 = False
2 = True
ProcessIDuint32274Indicates the ID of the process that created the message.
RecordIDuint323This number is the primary key for this table in the database. This number is artificially generated and not replicated between databases.
ReportFunctionuint320Indicates the report function. This is used internally by the status system and may be ignored by most users. It specifies the function that the caller used to report the status message.

Values are:
0 = Report
16 = BeginTransaction
32 = CommitFailedTransaction
48 = CommitSuccessfulTransaction
64 = RollbackTransaction
80 = ReportEX

Severityuint321073741824Indicates the severity level of the message. This number is added to the MessageID number to create a “string ID” that is used to index into a DLL of template strings.

Values are:
1073741824 = Informational
2147483648 = Warning
3221225472 = Error

SiteCode string"GRN"Indicates the three-letter site code for the site that created the message.
SuccessfulTransactionuint320Indicates whether or not a transaction was successful. This value is used internally by the status system and may be ignored by most users.

Values are:
0 = Failed
8 = Successful

ThreadIDuint32251Indicates the ID of the thread that created the message.
TimedatetimeSee “Date and Time Formats” at the beginning of this appendix.Indicates the creation time of the status message.
TopLevelSiteCode string"GRN"Indicates the three-letter site code of the topmost site the message can be replicated to.
Transactionuint320This value is used internally by the status system and may be ignored by most users.

Values are:
0 = False
4 = True

Win32Erroruint320Indicates the number of a Win32 error code associated with the Status Message.