The SMS_AdvertisementStatusSummarizer Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that summarizes the progress of each advertisement as it is advertised and run on the client computers for an individual site.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_AdvertisementStatusSummarizer : SMS_BaseClass { String AdvertisementID; UInt32 AdvertisementsFailed; UInt32 AdvertisementsReceived; String DisplaySchedule; DateTime LastUpdate; UInt32 ProgramsFailed; UInt32 ProgramsFailedMIF; UInt32 ProgramsStarted; UInt32 ProgramsSucceeded; UInt32 ProgramsSucceededMIF; String SiteCode; }; |
Methods
The SMS_AdvertisementStatusSummarizer class does not define any methods.
Properties
- AdvertisementID
- Data type: StringAccess type: Read Only Qualifiers: [key]Unique ID that Configuration Manager assigns to each advertisement.
- AdvertisementsFailed
- Data type: UInt32Access type: Read OnlyQualifiers: NoneTotal number of users, user groups, or client computers that experienced an error in processing the advertisement or its associated program, or that attempted to run the advertised program but failed before the program could be started.
- AdvertisementsReceived
- Data type: UInt32Access type: Read OnlyQualifiers: NoneTotal number of users, user groups, or client computers that are reporting the successful receipt of the advertisement.
- DisplaySchedule
- Data type: StringAccess type: Read OnlyQualifiers: [SizeLimit("16"), key]The schedule for which the statistics apply. The statistics are reset to zero each time the schedule elapses. The interval string is generated from an SMS_ScheduleToken Server WMI Class object by using the WriteToString Method in Class SMS_ScheduleMethods
- LastUpdate
- Data type: DateTimeAccess type: Read OnlyQualifiers: NoneDate and time, in Universal Coordinated Time (UTC), when the site reported a change in the status for the advertisement.
- ProgramsFailed
- Data type: UInt32Access type: Read OnlyQualifiers:
NoneTotal number of users, user groups, or client computers that
reported errors while running the advertised program. A program is
considered in error when it produces either:
- A nonzero exit code.
- An install status Management Information Format (MIF) file with
a failure-status attribute. This file, if present, overrides an
exit code.
- A nonzero exit code.
- ProgramsFailedMIF
- Data type: UInt32Access type: Read OnlyQualifiers: NonePrograms failing relative to the install status MIF file.
- ProgramsStarted
- Data type: UInt32Access type: Read OnlyQualifiers: NoneTotal number of users, user groups, or client computers in the site that were able to successfully start running the advertised program.
- ProgramsSucceeded
- Data type: UInt32Access type: Read Only Qualifiers:
NoneTotal number of users (user groups) or client computers, or
both, that are reporting that the advertisement ran successfully. A
program is considered successful when it produces either:
- An exit code of zero.
- An install status MIF file with a success-status attribute.
This file, if present, overrides an exit code.
- An exit code of zero.
- SiteCode
- Data type: StringAccess type: Read OnlyQualifiers: [key, SizeLimit("3")]Site code of the site that is offering the advertisement.
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.
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
Send comments about this topic to Microsoft.