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;

Values

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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADsPathname::Set