Modifier

Partager via


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); };
public System.DirectoryServices.SearchScope SearchScope { get; set; }
[System.DirectoryServices.DSDescription("DSSearchScope")]
public System.DirectoryServices.SearchScope SearchScope { get; set; }
[System.DirectoryServices.DSDescription("DSSearchScope")]
[System.ComponentModel.SettingsBindable(true)]
public System.DirectoryServices.SearchScope SearchScope { get; set; }
member this.SearchScope : System.DirectoryServices.SearchScope with get, set
[<System.DirectoryServices.DSDescription("DSSearchScope")>]
member this.SearchScope : System.DirectoryServices.SearchScope with get, set
[<System.DirectoryServices.DSDescription("DSSearchScope")>]
[<System.ComponentModel.SettingsBindable(true)>]
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.

Attributes

Exceptions

The value is not one of the SearchScope values.

Applies to

See also