SMS_AdvertisementStatusRootSummarizer
The SMS_AdvertisementStatusRootSummarizer WMI class tracks the progress of each advertisement and program as it is advertised and run on the client computers. The reported advertisement status is for all sites in the site hierarchy.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_AdvertisementStatusRootSummarizer : SMS_BaseClass
{
string AdvertisementID;
string AdvertisementName;
uint32 AdvertisementsFailed;
uint32 AdvertisementsReceived;
string CollectionID;
string CollectionName;
string DisplaySchedule;
datetime ExpirationTime;
string PackageID;
string PackageLanguage;
string PackageManufacturer;
string PackageName;
string PackageVersion;
datetime PresentTime;
string ProgramName;
uint32 ProgramsFailed;
uint32 ProgramsStarted;
uint32 ProgramsSucceeded;
string SourceSite;
uint32 TimeEnableFlag;
};
Properties
AdvertisementID
Data type: string
Access type: Read-only
Qualifiers: KeyUnique identifier that SMS assigns to each advertisement.
AdvertisementName
Data type: string
Access type: Read-onlyName of the advertisement.
AdvertisementsFailed
Data type: uint32
Access type: Read-onlyTotal 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: uint32
Access type: Read-onlyTotal number of users, user groups, or client computers that are reporting successful receipt of the advertisement.
CollectionID
Data type: string
Access type: Read-onlyIdentifier of the collection to which this advertisement is advertised.
CollectionName
Data type: string
Access type: Read-onlyName of the collection to which this advertisement is advertised.
DisplaySchedule
Data type: string
Access type: Read-onlyInterval string that specifies the schedule for which these statistics apply. The statistics are reset to zero each time the schedule elapses. The interval string is generated from an SMS_ScheduleToken instance using the WriteToString method.
ExpirationTime
Data type: datetimeAccess type: Read-onlyDate and time when the advertisement expires and is no longer available to clients. This can be local or Greenwich mean time, depending on whether the property ExpirationTimeIsGMT in SMS_Advertisement is set to TRUE (GMT) or FALSE (local).
PackageID
Data type: string
Access type: Read-onlyIdentifier of the package with which the advertised program is associated.
PackageLanguage
Data type: string
Access type: Read-onlyLanguage of the package, such as English or German.
PackageManufacturer
Data type: string
Access type: Read-onlyManufacturer of the package.
PackageName
Data type: string
Access type: Read-onlyName of the package.
PackageVersion
Data type: string
Access type: Read-onlyVersion of the package.
PresentTime
Data type: datetimeAccess type: Read-onlyDate and time when the advertisement is presented to the clients. This can be local or Greenwich mean time, depending on whether the property PresentTimeIsGMT in SMS_Advertisement is set to TRUE (GMT) or FALSE (local).
ProgramName
Data type: string
Access type: Read-onlyName of the program (related to PackageID) that this advertisement advertises.
ProgramsFailed
Data type: uint32
Access type: Read-onlyTotal 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 non-zero exit code, or
- An install-status MIF file with a failure-status attribute. This file, if present, overrides an exit code.
ProgramsStarted
Data type: uint32
Access type: Read-onlyTotal number of users, user groups, or client computers in the site that were able to successfully start running the advertised program.
ProgramsSucceeded
Data type: uint32
Access type: Read-onlyTotal number of users, user groups, or client computers, or both, that are reporting that the program ran successfully. A program is considered successful when it produces either:
- A exit code of zero, or
- An install-status MIF file with a success-status attribute. This file, if present, overrides an exit code.
SourceSite
Data type: string
Access type: Read-onlySite code of the site from which the advertisement originated.
TimeEnableFlag
Data type: uint32
Access type: Read-onlyReserved for future use.
Methods
The following table lists the methods in SMS_AdvertisementStatusRootSummarizer.
Method | Description |
---|---|
DeleteStatistics | Reserved. |
See Also
Determining Advertisement Status, SMS_AdvertisementStatusSummarizer, Status Classes