Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion DirectorySearcher.SizeLimit
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joe Kaplan \(MVP - ADSI\)  
View profile  
 More options Jun 5 2003, 3:01 am
Newsgroups: microsoft.public.adsi.general
From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kap...@removethis.accenture.com>
Date: Wed, 4 Jun 2003 11:58:17 -0500
Local: Thurs, Jun 5 2003 2:58 am
Subject: Re: DirectorySearcher.SizeLimit
The documentation is a little weird.

IF you do a paged search by setting the PageSize property > 0 and < max page
size (probably 1000), then the search will retrieve all results and
SizeLimit is ignored.

IF you DO NOT set PageSize and leave it at the default of 0, then the
SizeLimit will govern the maximum number of results returned.  There is a
maximum for a non-paged search (usually 1000) and you do not want to change
that (even if you can, which I am not sure) because large non-paged searches
eat up lots of server resources.

I haven't tried any of this with AD/AM, but it should work the same as AD in
this regard.

Joe K.

"Paul Stefancyk" <paul_stefan...@onesource.com> wrote in message

news:034501c32ab5$266164b0$a101280a@phx.gbl...
> In reading the documentation for this
> System.DirectoryServices.DirectorySearcher property, I see
> the following Remark:

> "The server stops searching after the size limit is
> reached and returns the results accumulated up to that
> point.

> Note   If you set SizeLimit to a value that is larger than
> the server-determined default of 1000 entries, the server-
> determined default is used."

> Does this mean that if a search hits 5000 entries, that
> I'll only see 1000? Can I bump this limit up on my AD/AM
> server in some way?

> Thanks,
> Paul


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google