IADsPathname::SetDisplayType method

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

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header iads.h
DLL Activeds.dll

See Also

ADSI Error Codes

ADS_DISPLAY_ENUM

IADsPathname