Export (0) Print
Expand All

SearchScope Enumeration

Specifies the possible scopes for a directory search.

[Visual Basic]
<Serializable>
Public Enum SearchScope
[C#]
[Serializable]
public enum SearchScope
[C++]
[Serializable]
__value public enum SearchScope
[JScript]
public
   Serializable
enum SearchScope

Members

Member name Description
Base Limits the search to the base object. The result contains one object at most.
OneLevel Searches the immediate child objects of the base object, excluding the base object.
Subtree Searches the whole subtree, including the base object and all its child objects.

Requirements

Namespace: System.DirectoryServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Directoryservices (in System.Directoryservices.dll)

See Also

System.DirectoryServices Namespace | DirectoryEntry | DirectoryEntries | PropertyCollection | PropertyValueCollection | DirectorySearcher | ReferralChasingOption | SearchResultCollection | SearchResult | ResultPropertyCollection | ResultPropertyValueCollection | SortDirection | SortOption

Show:
© 2014 Microsoft