ADS_SETTYPE_ENUM enumeration (iads.h)

The ADS_SETTYPE_ENUM enumeration specifies the available pathname format used by the IADsPathname::Set method.

Syntax

typedef enum __MIDL___MIDL_itf_ads_0001_0078_0001 {
  ADS_SETTYPE_FULL,
  ADS_SETTYPE_PROVIDER,
  ADS_SETTYPE_SERVER,
  ADS_SETTYPE_DN
} ADS_SETTYPE_ENUM;

Constants

 
ADS_SETTYPE_FULL
Sets the full path, for example, "LDAP://servername/o=internet/…/cn=bar".
ADS_SETTYPE_PROVIDER
Updates the provider only, for example, "LDAP".
ADS_SETTYPE_SERVER
Updates the server name only, for example, "servername".
ADS_SETTYPE_DN
Updates the distinguished name only, for example, "o=internet/…/cn=bar".

Remarks

Since VBScript cannot read information from a type library, VBScript applications do not understand the symbolic constants as defined above. You should use the numerical 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 make explicit declarations of such constants, as done here, in your VBScript applications.

Requirements

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

See also

ADSI Enumerations

IADsPathname::Set