__ClassOperationEvent class

The __ClassOperationEvent system class is a base class for all intrinsic events that relate to a class.

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 __ClassOperationEvent : __Event
  object TargetClass;
  uint64 TIME_CREATED;


The __ClassOperationEvent class has these types of members:


The __ClassOperationEvent class has these properties.


Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __Event.


Data type: object

Access type: Read-only

Class affected by the event. For creation events, this is the newly created class. For modification events, this is the new version of the changed class. For deletion events, this is the deleted class.


Data type: uint64

Access type: Read-only

Unique value that indicates the time at which the event was generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Times (UTC) format. This property is inherited from __Event.

For more information about using uint64 values in scripts, see Scripting in WMI.


The __ClassOperationEvent class is derived from __Event.

Instances of __ClassOperationEvent are not created; only instances of its subclasses are created. The following classes derive from __ClassOperationEvent:





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

See also


WMI System Classes

Determining the Type of Event to Receive