Platform SDK: Active Directory, ADSI, and Directory Services

ADS_SETTYPE_ENUM

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

typedef enum ADS_SETTYPE_ENUM {
  ADS_SETTYPE_FULL     = 1,
  ADS_SETTYPE_PROVIDER = 2,
  ADS_SETTYPE_SERVER   = 3,
  ADS_SETTYPE_DN       = 4
  } ADS_SETTYPE_ENUM;

Elements

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

Note  Because 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

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADsPathname::Set