DirectorySearcher.ReferralChasing Property

Gets or sets a value indicating how referrals are chased.

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

public ReferralChasingOption ReferralChasing { get; set; }
/** @property */
public ReferralChasingOption get_ReferralChasing ()

/** @property */
public void set_ReferralChasing (ReferralChasingOption value)

public function get ReferralChasing () : ReferralChasingOption

public function set ReferralChasing (value : ReferralChasingOption)

Not applicable.

Property Value

One of the ReferralChasingOption values. The default is External.

Exception typeCondition


The value is not one of the ReferralChasingOption values.

If the root search is not specified in the naming context of the server or when the search results cross a naming context (for example, when you have child domains and search in the parent domain), the server sends a referral message to the client that the client can either ignore or chase.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0