ADS_SETTYPE_ENUM enumeration

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

Syntax


typedef enum ADS_SETTYPE_ENUM { 
  ADS_SETTYPE_FULL      = 1,
  ADS_SETTYPE_PROVIDER  = 2,
  ADS_SETTYPE_SERVER    = 3,
  ADS_SETTYPE_DN        = 4
} 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

 

 

Show: