NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DirectorySearcher.SearchScope

Determines the scope of the search. Default is SearchScope.Subtree.

[Visual Basic]
Public Property SearchScope As SearchScope
[C#]
public SearchScope SearchScope {get; set;}
[C++]
public: __property SearchScope get_SearchScope();
public: __property void set_SearchScope(SearchScope);
[JScript]
public function get SearchScope() : SearchScope;
public function set SearchScope(SearchScope);

See Also

DirectorySearcher Class | DirectorySearcher Members | System.DirectoryServices Namespace