__NamespaceDeletionEvent class

The __NamespaceDeletionEvent system class reports a namespace deletion event, which is a type of intrinsic event that is generated when a sub-namespace is removed from the current 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 __NamespaceDeletionEvent : __NamespaceOperationEvent
{
  uint8       SECURITY_DESCRIPTOR[];
  __Namespace TargetNamespace;
  uint64      TIME_CREATED;
};

Members

The __NamespaceDeletionEvent class has these types of members:

Properties

The __NamespaceDeletionEvent class has these properties.

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor that the event provider uses to determine the users that can receive an event. This property is inherited from __Event.

TargetNamespace

Data type: __Namespace

Access type: Read-only

Copy of the __Namespace instance that is deleted. The Name property of the __Namespace instance identifies the namespace that is deleted. This property is inherited from __NamespaceOperationEvent.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time an event is 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 Time (UTC) format. This property is inherited from __Event.

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

Remarks

The __NamespaceDeletionEvent class is derived from __NamespaceOperationEvent.

Requirements

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

See also

__NamespaceOperationEvent

WMI System Classes