SearchResponse Members

The SearchResponse class is sent by the server as a response to a SearchRequest object. This response contains zero or more SearchResultEntry objects, and zero or more SearchResultReference objects.

The following tables list the members exposed by the SearchResponse type.

  Name Description
Public property Controls Overridden. The Controls property contains the DirectoryControl object returned by the server.
Public property Entries The Entries property contains a SearchResultEntryCollection object that contains the entries returned by the search.
Public property ErrorMessage Overridden. The ErrorMessage property contains the error message, if any, for this operation.
Public property MatchedDN Overridden. The MatchedDN property contains the matched distinguished name returned by the server.
Public property References The References property contains a SearchResultReferenceCollection object that contains search references returned by the server.
Public property Referral Overridden. The Referral property contains the server referrals.
Public property RequestId  The RequestId property contains the Request Identifier.(inherited from DirectoryResponse)
Public property ResultCode Overridden. The ResultCode property contains a value of ResultCode that specifies the result code for the operation.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions