Javadoc
Specifies the maximum number of entries that should be returned by the
server when processing this search request. A value of zero indicates that
there should be no limit.
Note that if an attempt to process a search operation fails because the
size limit has been exceeded, an
LDAPSearchException will be
thrown. If one or more entries or references have already been returned
for the search, then the
LDAPSearchException methods like
getEntryCount,
getSearchEntries,
getReferenceCount,
and
getSearchReferences may be used to obtain information about
those entries and references (although if a search result listener was
provided, then it will have been used to make any entries and references
available, and they will not be available through the
getSearchEntries and
getSearchReferences methods).