Modifica

Condividi tramite


SortRequestControl Class

Definition

The SortRequestControl class is used with SearchRequest to instruct the server to sort the search results before returning them to the client application.

public ref class SortRequestControl : System::DirectoryServices::Protocols::DirectoryControl
public class SortRequestControl : System.DirectoryServices.Protocols.DirectoryControl
type SortRequestControl = class
    inherit DirectoryControl
Public Class SortRequestControl
Inherits DirectoryControl
Inheritance
SortRequestControl

Constructors

SortRequestControl(SortKey[])

The SortRequestControl(SortKey[]) constructor creates and initializes a new instance of the SortRequestControl class using the specified sort keys.

SortRequestControl(String, Boolean)

The SortRequestControl(String, Boolean) constructor creates a new instance of the SortRequestControl class using the specified attribute name and sort order.

SortRequestControl(String, String, Boolean)

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

Properties

IsCritical

The IsCritical property specifies whether the control is critical.

(Inherited from DirectoryControl)
ServerSide

The ServerSide property specifies whether this is a server-side control.

(Inherited from DirectoryControl)
SortKeys

The SortKeys property contains an array of SortKey objects used by the server to sort the search results before returning them to the client.

Type

The Type property contains the object identifier (OID) of the control.

(Inherited from DirectoryControl)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValue()

The GetValue() method specifies the sort keys and matching rules for this control.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to