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();