Bagikan melalui


DirectorySearcher.ExtendedDN Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan format nama yang dibedakan.

public:
 property System::DirectoryServices::ExtendedDN ExtendedDN { System::DirectoryServices::ExtendedDN get(); void set(System::DirectoryServices::ExtendedDN value); };
public System.DirectoryServices.ExtendedDN ExtendedDN { get; set; }
[System.DirectoryServices.DSDescription("DSExtendedDn")]
[System.Runtime.InteropServices.ComVisible(false)]
public System.DirectoryServices.ExtendedDN ExtendedDN { get; set; }
member this.ExtendedDN : System.DirectoryServices.ExtendedDN with get, set
[<System.DirectoryServices.DSDescription("DSExtendedDn")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ExtendedDN : System.DirectoryServices.ExtendedDN with get, set
Public Property ExtendedDN As ExtendedDN

Nilai Properti

Salah ExtendedDN satu nilai.

Atribut

Contoh

Contoh berikut menunjukkan cara mengembalikan kumpulan nama yang dibedakan dalam format heksadesimal.

using System.DirectoryServices;  
...  
DirectorySearcher src = new DirectorySearcher("…");  
src.PropertiesToLoad = new string[] {ntSecurityDescriptor,…};  
src.ExtendedDN = ExtendedDN.HexString;  
SearchResultCollection res = src.FindAll();  

Berlaku untuk