__NamespaceDeletionEvent class
Applies to: desktop apps only
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 inherits from __NamespaceOperationEvent. __NamespaceDeletionEvent also 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.
Windows 2000, Windows NT Server, and Windows Me/98/95: This property is not available. - 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.
Windows 2000, Windows NT Server, and Windows Me/98/95: This property is not available.For more information about using uint64 values in scripts, see Scripting in WMI.
Remarks
The __NamespaceDeletionEvent class is derived from __NamespaceOperationEvent.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Namespace |
all WMI namespaces |
See also
Send comments about this topic to Microsoft
Build date: 3/9/2012