DirectorySearcher.ReferralChasing Property

 
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.

Gets or sets a value indicating how referrals are chased.

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

[DSDescriptionAttribute("DSReferralChasing")]
public ReferralChasingOption ReferralChasing { get; set; }

Property Value

Type: System.DirectoryServices.ReferralChasingOption

One of the ReferralChasingOption values. The default is External.

Exception Condition
InvalidEnumArgumentException

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.

.NET Framework
Available since 1.1
Return to top
Show: