Directory Services |
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;
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.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension
on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.