SearchOption Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

The SearchOption enumeration specifies the search options which define how the search will behave.

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

public enum SearchOption

Member nameDescription

Prevents referrals from being generated when the search results are returned. The value is equal to 1.


Instructs the server to search all naming contexts that are subordinate to the search base. The value is equal to 2.

.NET Framework
Available since 2.0
Return to top