This topic has not yet been rated - Rate this topic

IADsDeleteOps interface

Applies to: desktop apps only

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.

Members

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

Methods

The IADsDeleteOps interface has these methods.

MethodDescription
DeleteObject

Deletes the object from the directory.

 

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsDeleteOps is defined as B2BD0902-8878-11D1-8C21-00C04FD8D503

See also

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

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Tree Delete Maximum Object Limitation
Note that if you exceed 16384 objects under the container you are deleting, the method will return with error of admin limit exceeded though it will have deleted 16384 objects. You will need to resubmit the request multiple times until you no longer get admin limit exceeded.