IADsPathname::AddLeafElement method (iads.h)

The IADsPathname::AddLeafElement method adds an element to the end of the directory path already set on the Pathname object.

Syntax

HRESULT AddLeafElement(
  BSTR bstrLeafElement
);

Parameters

bstrLeafElement

The name of the leaf element.

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

   
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

IADsPathname