IDirectoryObject::DeleteDSObject

Deletes a directory service object

HRESULT DeleteDSObject(
  LPWSTR pszRDNName,  //Relative distinguished name of object
);
 

Parameters

pszRDNName
Relative distinguished name (relative path) of the object to be deleted.