IDirectorySearch interface (iads.h)
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.
The IDirectorySearch interface inherits from the IUnknown interface. IDirectorySearch also has these types of members:
The IDirectorySearch interface has these methods.
The IDirectorySearch::AbandonSearch method abandons a search initiated by an earlier call to the ExecuteSearch method.
The IDirectorySearch::CloseSearchHandle method closes the handle to a search result and frees the associated memory.
The IDirectorySearch::ExecuteSearch method executes a search and passes the results to the caller.
The IDirectorySearch::FreeColumn method releases memory that the IDirectorySearch::GetColumn method allocated for data for the column.
The IDirectorySearch::GetColumn method gets data from a named column of the search result.
The GetFirstRow method gets the first row of a search result. This method will issue or reissue a new search, even if this method has been called before.
The IDirectorySearch::GetNextColumnName method gets the name of the next column in the search result that contains data.
Gets the next row of the search result.
The IDirectorySearch::GetPreviousRow method gets the previous row of the search result. If the provider does not provide cursor support, it should return E_NOTIMPL.
Specifies a search preference for obtaining data in a subsequent search.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|