SearchScope Enumeration

 

The SearchScope enumeration specifies the scope of a search.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public enum SearchScope

Member nameDescription
Base

Search only the specified base object. The value is equal to 0.

OneLevel

Search the child objects of the base object, but not the base object itself. The value is equal to 1.

Subtree

Search the base object and all child objects. The value is equal to 2.

.NET Framework
Available since 2.0
Return to top
Show: