IADsPathname::RemoveLeafElement method (iads.h)
The IADsPathname::RemoveLeafElement method removes the last element from the directory path that has been set on the Pathname object.
Syntax
HRESULT RemoveLeafElement();
Return value
This method supports the standard return values, as well as the following:
For more information and other return values, 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 |