PRB: Order of Columns In IDirectorySearch Results Not Guaranteed (201029)
The information in this article applies to:
- Microsoft Active Directory Service Interfaces 2.0
This article was previously published under Q201029 SYMPTOMS
The rows of results returned by IDirectorySearch::ExecuteSearch may not match the order of the properties specified by the caller.
STATUS
This behavior is by design.
MORE INFORMATION
When using the IDirectorySearch interface to search a directory service, the ExecuteSearch method is used to submit the query. The caller provides an array of properties for which they want information returned. The order of the properties in the attribute array does not guarantee the order of the columns in the results of the search.
When examining the results of the query, the attribute name and attribute type of the columns should be used by programs to determine the contents of the row. The name and type can be found in the ADS_SEARCH_COLUMN data structure that is returned by the IDirectorySearch::GetColumn call.
Modification Type: | Minor | Last Reviewed: | 3/20/2004 |
---|
Keywords: | kbDSWManage2003Swept kbprb KB201029 |
---|
|