SMS_AdvertisementStatusSummarizer

The SMS_AdvertisementStatusSummarizer WMI class tracks the progress of each advertisement as it is advertised and run on the client computers. The reported advertisement status is for an individual site.

The following syntax is simplified from 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 ProgramsStarted;
  uint32 ProgramsSucceeded;
  string SiteCode;
};

Properties

  • AdvertisementID
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Unique identifier that SMS assigns to each advertisement.

  • AdvertisementsFailed
    Data type: uint32
    Access type: Read-only

    Total 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-only

    Total number of users, user groups, or client computers that are reporting successful receipt of the advertisement.

  • DisplaySchedule
    Data type: string
    Access type: Read-only

    Interval 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.

  • LastUpdate
    Data type: datetime
    Access type: Read-only

    Date and time (GMT) when the site reported a change in status for the advertisement.

  • ProgramsFailed
    Data type: uint32
    Access type: Read-only

    Total 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:

    1. A non-zero exit code, or
    2. An install-status MIF file with a failure-status attribute. This file, if present, will override an exit code.
  • ProgramsStarted
    Data type: uint32
    Access type: Read-only

    Total 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-only

    Total 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:

    1. A exit code of zero, or
    2. An install-status MIF file with a success-status attribute. This file, if present, will override an exit code.
  • SiteCode
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Site that is offering the advertisement.

See Also

Determining Advertisement Status, SMS_AdvertisementStatusRootSummarizer, Status Classes