M
Mario Rodriguez
Hi, my current conception is that setting the PageSize property of the
DirectorySearcher object to a value greater than 0, the paging is activated
and the query returns only the number of entries specified on the PageSize,
but in my case the query returns all the expected results at once.
This is the snippet:
DirectorySearcher objDirectorySearcher = new DirectorySearcher();
objDirectorySearcher.SearchRoot = new
DirectoryEntry(strRutaActiveDirectory);
objDirectorySearcher.Filter = getFilter(v_objPaginacion);
objDirectorySearcher.PageSize = 5;
SearchResultCollection objResultadoBusqueda =
objDirectorySearcher.FindAll();
and SearchResultCollection contains all the entries.
Any Idea ?
DirectorySearcher object to a value greater than 0, the paging is activated
and the query returns only the number of entries specified on the PageSize,
but in my case the query returns all the expected results at once.
This is the snippet:
DirectorySearcher objDirectorySearcher = new DirectorySearcher();
objDirectorySearcher.SearchRoot = new
DirectoryEntry(strRutaActiveDirectory);
objDirectorySearcher.Filter = getFilter(v_objPaginacion);
objDirectorySearcher.PageSize = 5;
SearchResultCollection objResultadoBusqueda =
objDirectorySearcher.FindAll();
and SearchResultCollection contains all the entries.
Any Idea ?