IADsPathname::GetNumElements method (iads.h)

The IADsPathname::GetNumElements method retrieves the number of elements in the path.

Syntax

HRESULT GetNumElements(
  [out] long *plnNumPathElements
);

Parameters

[out] plnNumPathElements

The number of elements in the path.

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

See also

ADSI Error Codes

IADsPathname