Muokkaa

Jaa


__NamespaceOperationEvent class

The __NamespaceOperationEvent system class is a base class for all intrinsic events that relate to a 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 __NamespaceOperationEvent : __Event
{
  uint8       SECURITY_DESCRIPTOR[];
  __Namespace TargetNamespace;
  uint64      TIME_CREATED;
};

Members

The __NamespaceOperationEvent class has these types of members:

Properties

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

TargetNamespace

Data type: __Namespace

Access type: Read-only

Namespace affected by the event. For creation events, this is the newly created namespace. For modification events, this is the changed namespace. For deletion events, this is the deleted namespace.

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 __NamespaceOperationEvent class is derived from __Event.

Instances of this class are not created. WMI creates instances of one of the following classes derived from this class:

__NamespaceCreationEvent

__NamespaceModificationEvent

__NamespaceDeletionEvent

Requirements

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

See also

__Event

WMI System Classes

Determining the Type of Event to Receive