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 = 1,
  ADS_SETTYPE_PROVIDER = 2,
  ADS_SETTYPE_SERVER = 3,
  ADS_SETTYPE_DN = 4
} ADS_SETTYPE_ENUM;

Constants

 
ADS_SETTYPE_FULL
Value: 1
Sets the full path, for example, "LDAP://servername/o=internet/…/cn=bar".
ADS_SETTYPE_PROVIDER
Value: 2
Updates the provider only, for example, "LDAP".
ADS_SETTYPE_SERVER
Value: 3
Updates the server name only, for example, "servername".
ADS_SETTYPE_DN
Value: 4
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

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

See also

ADSI Enumerations

IADsPathname::Set