DirectorySearcher.ExtendedDN 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,表示辨別名稱的格式。
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
屬性值
其中一個 ExtendedDN 值。
- 屬性
範例
下列範例示範如何以十六進位格式傳回辨別名稱的集合。
using System.DirectoryServices;
...
DirectorySearcher src = new DirectorySearcher("…");
src.PropertiesToLoad = new string[] {ntSecurityDescriptor,…};
src.ExtendedDN = ExtendedDN.HexString;
SearchResultCollection res = src.FindAll();