Directory Services

IADsDeleteOps

The IADsDeleteOps interface specifies a method an object can use to delete itself from the underlying directory. For a container object, the method deletes its children and the entire subtree.

The interface is designed to offer features that complement IADsContainer. To remove an object from the directory store, request its parent object to perform the operation. That amounts to calling the IADsContainer::Delete method on the contained object. When the object also implements the IADsDeleteOps interface, you can instruct the object to remove itself, and all the contained objects, by calling the IADsDeleteOps::DeleteObject method directly on the object.

Methods in Vtable Order

The IADsDeleteOps interface inherits the methods of the standard COM interfaces:

In addition, IADsDeleteOps defines the following method.

Method Description
DeleteObject Deletes the object from the directory.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

Access Control and Object Deletion, IADsContainer, IADsContainer::Delete, IADsDeleteOps Interface