Two of the ADSI interfaces for searching a directory, ADO and OLE DB, use a search string to specify the parameters of the search. The search parameters include the base of the search, the search filter, the attributes to retrieve, and the depth of the search.

You can specify the search string in one of two dialects: