SearchRequest.Scope Property

 
System_CAPS_noteNote

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

The Scope property contains one of the values of SearchScope that specifies the scope of the search.

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

public SearchScope Scope { get; set; }

Property Value

Type: System.DirectoryServices.Protocols.SearchScope

One of the values of SearchScope that specifies the scope of the search.

Exception Condition
InvalidEnumArgumentException

The value is not a member of SearchScope.

.NET Framework
Available since 2.0
Return to top
Show: