Directory Services

Processing a Result Set

A result set is returned as a series of rows. Each row may or may not contain a given attribute. With the OLE DB provider, the result set appears similar to a normal SQL result set. If you use ADO for the query, the ADODB.Recordset object is used for traversing the result set. IDirectorySearch (available only from languages that support vtable bindings) contains members for moving the row cursor and checking property values in a given row. Alternatively, you can use IDirectoryObject to get and set properties.