Partilhar via


DirectorySearcher.SearchScope Propriedade

Definição

Obtém ou define um valor que indica o escopo da pesquisa que é observado pelo servidor.

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

Valor da propriedade

Um dos valores de SearchScope. O padrão é Subtree.

Atributos

Exceções

O valor não é um dos valores SearchScope.

Aplica-se a

Confira também