DereferenceAlias Enumeration

 

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 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: