Support for Queries
By implementing the IDirectorySearch interface, ADSI providers gain access to a subset of OLE DB read-only functionality with no extra effort.
The ADSI implementation of the methods of IDirectorySearch itself uses the OLE DB interfaces described in ADSI Version 1.0 included the following list of COM objects:
-
Data Source Object (the directory service), supporting IDBInitialize, IDBCreateSession, IDBProperties, and IPersist.
-
DBSessions Object, supporting IOpenRowSet, ISessionProperties, and ICreateCommand.
-
Command Object, supporting ICommand, IAccessor, IColumnsInfo, ICommandProperties, ICommandText, and IConvertType.
-
Rowset Object, supporting IAccessor, IColumnsInfo, IConvertType, IRowset, and IRowsetInfo.
For more information about OLE DB, see OLE DB Programmer's Reference in the Microsoft Platform SDK.