DirectorySearcher.SearchScope
DirectorySearcher.SearchScope
DirectorySearcher.SearchScope
DirectorySearcher.SearchScope
Property
Definition
Gets or sets a value indicating the scope of the search that is observed by the server.
public:
property System::DirectoryServices::SearchScope SearchScope { System::DirectoryServices::SearchScope get(); void set(System::DirectoryServices::SearchScope value); };
[System.ComponentModel.SettingsBindable(true)]
[System.DirectoryServices.DSDescription("DSSearchScope")]
public System.DirectoryServices.SearchScope SearchScope { get; set; }
member this.SearchScope : System.DirectoryServices.SearchScope with get, set
Public Property SearchScope As SearchScope
Property Value
One of the SearchScope values. The default is Subtree.
Exceptions
InvalidEnumArgumentException
InvalidEnumArgumentException
InvalidEnumArgumentException
InvalidEnumArgumentException
The value is not one of the SearchScope values.