IDirectorySearch interface
The IDirectorySearch interface is a pure COM interface that provides a low overhead method that non-Automation clients can use to perform queries in the underlying directory.
Of the ADSI system-supplied providers, only the LDAP provider supports this interface.
Members
The IDirectorySearch interface inherits from the IUnknown interface. IDirectorySearch also has these types of members:
Methods
The IDirectorySearch interface has these methods.
| Method | Description |
|---|---|
| AbandonSearch |
Abandons a search already in process. |
| CloseSearchHandle |
Releases the search result from memory. |
| ExecuteSearch |
Executes an individual search. |
| FreeColumn |
Frees the ADS_SEARCH_COLUMN structure created by the GetColumn method. |
| GetColumn |
Gets the item in a specified column from the current row of the search result. |
| GetFirstRow |
Gets the first row of the search result. |
| GetNextColumnName |
Gets the name of the next column of the search result. |
| GetNextRow |
Gets the next row of the search result. |
| GetPreviousRow |
Gets the previous row of the search result. |
| SetSearchPreference |
Sets options for conducting a search. |
Requirements
|
Minimum supported client |
Windows Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
DLL |
|
|
IID |
IID_IDirectorySearch is defined as 109BA8EC-92F0-11D0-A790-00C04FD8D5A8 |