ADS_DISPLAY_ENUM enumeration (iads.h)

The ADS_DISPLAY_ENUM enumeration specifies how a path is to be displayed.

Syntax

typedef enum __MIDL___MIDL_itf_ads_0001_0078_0003 {
  ADS_DISPLAY_FULL = 1,
  ADS_DISPLAY_VALUE_ONLY = 2
} ADS_DISPLAY_ENUM;

Constants

 
ADS_DISPLAY_FULL
Value: 1
The path is displayed with both attributes and values. For example, CN=Jeff Smith.
ADS_DISPLAY_VALUE_ONLY
Value: 2
The path is displayed with values only. For example, Jeff Smith.

Remarks

This enumeration is used in IADsPathname::SetDisplayType method to specify how a path is to be displayed.

Note  Because VBScript cannot read data from a type library, VBScript applications do not understand the symbolic constants as defined above. You should use the numeric constants instead to set the appropriate flags in your VBScript applications. If you want to use the symbolic constants as a good programming practice, you should create explicit declarations of such constants, as done here, in your VBScript applications.
 

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Enumerations

IADsPathname::SetDisplayType