SearchScope Property
Controls the scope of LDAP search operations.
Syntax
[VB.NET] Public Property SearchScope As LdapSearchScopes
[C#] public LdapSearchScopes SearchScope {get; set;}
enum LdapSearchScopes { ssBaseObject, ssSingleLevel, ssWholeSubtree }
Remarks
This property controls the scope of LDAP search operations. Possible values are:
ssBaseObject (0) | Search only the base object. |
ssSingleLevel (1) | Search only one level, including objects directly below the base object, but not the base object itself. |
ssWholeSubtree (2) | Search the whole subtree, including the base object itself. |
Default is to search the whole subtree.
Default Value
2