Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ADSI_DIALECT_ENUM enumeration

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

Syntax


typedef enum  { 
  ADSI_DIALECT_LDAP  = 0,
  ADSI_DIALECT_SQL   = 0x1
} 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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Iads.h

See also

ADSI Enumerations

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.