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)
Property | Data type | Example | Notes | |
---|---|---|---|---|
Component | string | "SMS_ EXECUTIVE" | Indicates the name of the SMS component that created the message. | |
MachineName | string | "GREEN1" | Indicates the name of the computer that created the message. | |
MessageID | uint32 | 1100 | Indicates 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. | |
MessageType | uint32 | 256 | Indicates the type of message.
Values are: | |
ModuleName | string | "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. | |
PerClient | uint32 | 0 | The 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 | |
ProcessID | uint32 | 274 | Indicates the ID of the process that created the message. | |
RecordID | uint32 | 3 | This number is the primary key for this table in the database. This number is artificially generated and not replicated between databases. | |
ReportFunction | uint32 | 0 | Indicates 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: | |
Severity | uint32 | 1073741824 | Indicates 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: | |
SiteCode | string | "GRN" | Indicates the three-letter site code for the site that created the message. | |
SuccessfulTransaction | uint32 | 0 | Indicates 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: | |
ThreadID | uint32 | 251 | Indicates the ID of the thread that created the message. | |
Time | datetime | See “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. | |
Transaction | uint32 | 0 | This value is used internally by the status system and may be ignored by most users.
Values are: | |
Win32Error | uint32 | 0 | Indicates the number of a Win32 error code associated with the Status Message. |