SortRequestControl Constructor (String, String, Boolean)

The SortRequestControl constructor creates a new instance of the SortRequestControl class using the specified attribute name, matching rule, and sort order.

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

public SortRequestControl(
	string attributeName,
	string matchingRule,
	bool reverseOrder
)

Parameters

attributeName
Type: System.String

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

matchingRule
Type: System.String

Specifies the object identifier (OID) of the matching rule for the sort.

reverseOrder
Type: System.Boolean

true if the sort is ordered from lowest to highest or false if the sort is ordered from highest to lowest.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft