Export (0) Print
Expand All

ADS_DISPLAY_ENUM enumeration

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

Syntax


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

Constants

ADS_DISPLAY_FULL

The path is displayed with both attributes and values. For example, CN=Jeff Smith.

ADS_DISPLAY_VALUE_ONLY

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Iads.h

See also

ADSI Enumerations
IADsPathname::SetDisplayType

 

 

Show:
© 2014 Microsoft