IADsDeleteOps::DeleteObject method (iads.h)

The IADsDeleteOps::DeleteObject method deletes an ADSI object.

Syntax

HRESULT DeleteObject(
  long lnFlags
);

Parameters

lnFlags

Reserved.

Return value

This method supports standard return values, including S_OK for a successful operation. For more information about error codes, see ADSI Error Codes.

Requirements

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

See also

ADSI Error Codes

Access Control and Object Deletion

IADsContainer::Delete

IADsDeleteOps

IADsDeleteOps Interface

IDirectoryObject::DeleteDSObject