IADsPathname::SetDisplayType method (iads.h)

The IADsPathname::SetDisplayType method specifies how to display the path of an object. It can query for the path to be displayed in a string with both naming attributes and values, that is, "CN=Jeff Smith" or with values only, that is, "Jeff Smith".

Syntax

HRESULT SetDisplayType(
  long lnDisplayType
);

Parameters

lnDisplayType

The display type of a path as defined in ADS_DISPLAY_ENUM.

Return value

This method supports the standard return values, including the following:

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

ADS_DISPLAY_ENUM

IADsPathname