IADsDeleteOps::DeleteObject method

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

   
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