DirectorySearcher::SearchScope Property
.NET Framework (current version)
Gets or sets a value indicating the scope of the search that is observed by the server.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public: [DSDescriptionAttribute("DSSearchScope")] [SettingsBindableAttribute(true)] property SearchScope SearchScope { SearchScope get(); void set(SearchScope value); }
Property Value
Type: System.DirectoryServices::SearchScopeOne of the SearchScope values. The default is Subtree.
| Exception | Condition |
|---|---|
| InvalidEnumArgumentException | The value is not one of the ReferralChasingOption values. |
.NET Framework
Available since 1.1
Available since 1.1
Show: