WMIEvent class

The WMIEvent class is a base class from which all WMI event classes are derived.

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

Syntax

[]
class WMIEvent : __ExtrinsicEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
};

Members

The WMIEvent class has these types of members:

Properties

The WMIEvent class has these properties.

SECURITY_DESCRIPTOR

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. For more information about constants used to set this security descriptor, see WMI Security Constants.

TIME_CREATED

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.

Remarks

The WMIEvent class is derived from __ExtrinsicEvent.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2003
Namespace
Root\WMI
MOF
Wmi.mof;
WmiCore.mof
DLL
WmiProv.dll

See also

MSMCA Classes

__ExtrinsicEvent