SearchScope Property
Controls the scope of LDAP search operations.
Syntax
public LdapSearchScopes SearchScope { get; set; }
enum LdapSearchScopes { ssBaseObject, ssSingleLevel, ssWholeSubtree }
Public Property SearchScope As LdapSearchScopes
Enum LdapSearchScopes ssBaseObject ssSingleLevel ssWholeSubtree End Enum
Default Value
2
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.