Platform SDK: Active Directory, ADSI, and Directory Services

ADSI_DIALECT_ENUM

The ADSI_DIALECT_ENUM enumeration specifies query dialects used in the OLE DB provider for ADSI.

typedef enum {
  ADSI_DIALECT_LDAP   = 0,
  ADSI_DIALECT_SQL    = 0x1
  } ADSI_DIALECT_ENUM

Elements

ADSI_DIALECT_LDAP
ADSI queries are based on the LDAP dialect.
ADSI_DIALECT_SQL
ADSI queries are based on the SQL dialect.

Remarks

An Active Data Object (ADO) client can use one of the two ADSI query dialects to query a directory. For more information on the ADSI query dialects, see "Searching" in the Active Directory Service Interfaces Programmer's Guide.

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