__AggregateEvent class

The __AggregateEvent system class represents an aggregate event of several individual intrinsic or extrinsic events. WMI generates an instance of __AggregateEvent rather than __Event when consumers register with the GROUP WITHIN clause in their event query.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.


class __AggregateEvent : __IndicationRelated
  uint32 NumberOfEvents;
  object Representative;


The __AggregateEvent class has these types of members:


The __AggregateEvent class has these properties.

Data type: uint32
Access type: Read-only

Number of events combined to produce this single summary event.

Data type: object
Access type: Read-only

Copy of one of the events delivered within the aggregation interval. For example, if a consumer has registered for registry key change events from the Registry Event provider, Representative would hold an instance of the RegistryKeyChangeEvent class.


The __AggregateEvent class is derived from __IndicationRelated, which has no properties.

Event providers never generate aggregate events. They must ignore the GROUP WITHIN clause in their processing of event queries.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008


All WMI namespaces

See also

WMI System Classes
Querying with WQL