0
indicates
no time limit. The time limit is set to 0
by default. The default value is in effect until it is changed.
The value -1
indicates that the existing
value is to remain unchanged.
0
indicates no size limit. The size limit is set
to 0
by default. The default value
remains in effect until it is changed. The value -1
indicates that the existing value is to remain unchanged.
SUBTREE_SEARCH_SCOPE | sets the scope of the search to include all subtrees. This is the default value. |
BASE_SEARCH_SCOPE | sets the scope of the search to include only the base. This value overrides the default value of SUBTREE_SEARCH_SCOPE. |
ONELEVEL_SEARCH_SCOPE | sets the scope of the search to include the base and one additional level. This value overrides the default value of SUBTREE_SEARCH_SCOPE. |
timelimit = -1; /* use current setting */ sizelimit = -1; /* use current setting */ base=''; /* use default set at _open time */ referral = ; /* use default set at _open time */ restart = ; /* use default */ prop = SEARCH_SCOPE; propValue = BASE_SEARCH_SCOPE; /* only search the base */ rc = ds._setOptions(timelimit, sizelimit, base, referral, restart, prop, propValue);