Düzenle

Aracılığıyla paylaş


__ClassCreationEvent class

The __ClassCreationEvent system class represents a class creation event, which is a type of intrinsic event generated when a new class is added to the namespace.

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 __ClassCreationEvent : __ClassOperationEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  object TargetClass;
  uint64 TIME_CREATED;
};

Members

The __ClassCreationEvent class has these types of members:

Properties

The __ClassCreationEvent 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.

TargetClass

Data type: object

Access type: Read-only

Copy of the newly created class reported by the class creation event. This property is inherited from __ClassOperationEvent.

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 Universal Time Coordinates (UTC) format. This property is inherited from __Event.

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

Remarks

The __ClassCreationEvent class is derived from __ClassOperationEvent.

Requirements

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

See also

__ClassOperationEvent

WMI System Classes