SMS_AdvertisementStatusInformation 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_AdvertisementStatusInformation Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents the state and description for a software distribution or software update status message.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_AdvertisementStatusInformation : SMS_BaseClass
{
UInt32 MessageID;
String MessageName;
UInt32 MessageState;
String MessageStateName;
};
Methods
The SMS_AdvertisementStatusInformation class does not define any methods.
Properties
MessageID
Data type: UInt32Access type: Read/write
Qualifiers: [key, ResID(1801), ResDLL("SMS_RSTT.dll")]
Software distribution or software update message ID.
MessageName
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(1804), ResDLL("SMS_RSTT.dll")]
Short description of the status message.
MessageState
Data type: UInt32Access type: Read/write
Qualifiers: [ResID(1802), ResDLL("SMS_RSTT.dll")]
Numeric category (software update states >= 100, software distribution < 100). For more information, see the Remarks section later in this topic.
MessageStateName
Data type: StringAccess type: Read/Write
Qualifiers: [ResID(1803), ResDLL("SMS_RSTT.dll")]
Short description of the message state.
Remarks
Class qualifiers for this class include:
- Read (read-only)
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
The MessageState property can have one of the following values:
MessageState | Type | MessageStateName |
---|---|---|
-1 |
Delivery |
Accepted - No further status |
0 |
Acceptance/Delivery |
No Status |
1 |
Acceptance |
Accepted |
2 |
Acceptance |
Rejected |
3 |
Acceptance |
Expired |
4 |
Delivery |
Will Not Rerun |
5 |
Delivery |
Download in Progress |
6 |
Delivery |
Download Complete |
7 |
Delivery |
Canceled |
8 |
Delivery |
Waiting |
9 |
Delivery |
Running |
10 |
Delivery |
Retrying |
11 |
Delivery |
Failed |
12 |
Delivery |
Reboot Pending |
13 |
Delivery |
Succeeded |
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
Software Distribution Server WMI Classes
SMS_Advertisement Server WMI Class