IADsDeleteOps interface (iads.h)

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.

Inheritance

The IADsDeleteOps interface inherits from the IDispatch interface. IADsDeleteOps also has these types of members:

Methods

The IADsDeleteOps interface has these methods.

 
IADsDeleteOps::DeleteObject

The IADsDeleteOps::DeleteObject method deletes an ADSI object.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header iads.h

See also

Access Control and Object Deletion

IADsContainer

IADsContainer::Delete

IADsDeleteOps Interface

IDispatch