[Mono-bugs] [Bug 55736][Maj] Changed - LdapSearchResults Count always zero
Thu, 13 May 2004 16:31:47 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/55736 2004-05-13 16:06:55.000000000 -0400
+++ shadow/55736.tmp.30081 2004-05-13 16:31:47.000000000 -0400
@@ -1,13 +1,13 @@
Product: Mono: Class Libraries
OS Details: Novell.Directory.Ldap
@@ -38,6 +38,22 @@
How often does this happen?
Windows XP SP1, Visual Studio Enterprise Architect 2003 with .NET Runtime
1.1, LDAP.dll from Mono 0.30 for Windows
+------- Additional Comments From email@example.com 2004-05-13 16:31 -------
+This is not a bug. If you look at the documentation of Count it
+clearly states " The number of items received but not retrieved by
+the application" . It doesn't show the number of LdapEntry objects
+returned by serach.
+ SO ideally if you are doing a search and you are retrieveing
+entry one by one a sthe netry comes to client, it will be zero. But
+if you block and let all the entry comes to client before retrieving
+any of them and then you print this value, it iwll contain the number
+of entry returned by Search.