SortRequestControl Constructor (String, Boolean)

 
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 SortRequestControl constructor creates a new instance of the SortRequestControl class using the specified attribute name and sort order.

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

public SortRequestControl(
	string attributeName,
	bool reverseOrder
)

Parameters

attributeName
Type: System.String

The name of the attribute on which the query is based.

reverseOrder
Type: System.Boolean

true if results should be returned in reverse order or false otherwise.

.NET Framework
Available since 2.0
Return to top
Show: