DereferenceAlias Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The DereferenceAlias enumeration specifies how aliases are resolved. This enumeration provides values for the DirectorySearcher::DerefAlias property.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public enum class DereferenceAlias

Member nameDescription
Always

Dereferences aliases when both searching subordinates and locating the base objects of the search.

FindingBaseObject

Dereferences aliases when locating the base object of the search, but not when searching its subordinates.

InSearching

Dereferences aliases when searching subordinates of the base object, but not when locating the base itself.

Never

Indicates that the alias will not be dereferenced. If the DirectorySearcher::DerefAlias property is not set, the default value is Never.

.NET Framework
Available since 2.0
Return to top
Show: