SearchScope Property
Controls the scope of LDAP search operations.
Syntax
[VB.NET] Public Property SearchScope As LdapsSearchScopes
[C#] public LdapsSearchScopes SearchScope {get; set;}
enum LdapsSearchScopes { 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