Compartir a través de


DirectorySearcher.SearchScope Propiedad

Definición

Obtiene o establece un valor que indica el ámbito de la búsqueda al que obedece el 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 de propiedad

Uno de los valores de SearchScope. De manera predeterminada, es Subtree.

Atributos

Excepciones

El valor no es uno de los valores de SearchScope.

Se aplica a

Consulte también