ADSI_DIALECT_ENUM Enumeration

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

Syntax

typedef enum __MIDL___MIDL_itf_ads_0000_0000_0023 {
  ADSI_DIALECT_LDAP,
  ADSI_DIALECT_SQL
} ADSI_DIALECT_ENUM;

Constants

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

Remarks

An ActiveX Data Object (ADO) client can use one of the two ADSI query dialects to query a directory. For more information about the ADSI query dialects, see Searching with ActiveX Data Objects.

Note  Because Visual Basic Script (VBScript) cannot read data from a type library, VBScript applications do not recognize the symbolic constants as defined above. Use the numerical constants to set the appropriate flags in your VBScript applications. To use the symbolic constants as a good programming practice, write explicit declarations of such constants, as done here.
 

Requirements

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

See Also

ADSI Enumerations