Bewerken

Delen via


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

Syntax

class __AggregateEvent : __IndicationRelated
{
  uint32 NumberOfEvents;
  object Representative;
};

Members

The __AggregateEvent class has these types of members:

Properties

The __AggregateEvent class has these properties.

NumberOfEvents

Data type: uint32

Access type: Read-only

Number of events combined to produce this single summary event.

Representative

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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

__IndicationRelated

WMI System Classes

Querying with WQL