DirectorySearcher.ExtendedDN Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates the format of the distinguished names.
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
Property Value
One of the ExtendedDN values.
- Attributes
Examples
The following example shows how to return a collection of distinguished names in hexadecimal format.
using System.DirectoryServices;
...
DirectorySearcher src = new DirectorySearcher("…");
src.PropertiesToLoad = new string[] {ntSecurityDescriptor,…};
src.ExtendedDN = ExtendedDN.HexString;
SearchResultCollection res = src.FindAll();
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.