SearchResponse Class

 
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 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.

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


public ref class SearchResponse : DirectoryResponse

NameDescription
System_CAPS_pubpropertyControls

The Controls property contains the DirectoryControl object returned by the server.(Overrides DirectoryResponse::Controls.)

System_CAPS_pubpropertyEntries

The Entries property contains a SearchResultEntryCollection object that contains the entries returned by the search.

System_CAPS_pubpropertyErrorMessage

The ErrorMessage property contains the error message, if any, for this operation.(Overrides DirectoryResponse::ErrorMessage.)

System_CAPS_pubpropertyMatchedDN

The MatchedDN property contains the matched distinguished name returned by the server.(Overrides DirectoryResponse::MatchedDN.)

System_CAPS_pubpropertyReferences

The References property contains a SearchResultReferenceCollection object that contains search references returned by the server.

System_CAPS_pubpropertyReferral

The Referral property contains the server referrals.(Overrides DirectoryResponse::Referral.)

System_CAPS_pubpropertyRequestId

The RequestId property contains the Request Identifier.(Inherited from DirectoryResponse.)

System_CAPS_pubpropertyResultCode

The ResultCode property contains a value of ResultCode that specifies the result code for the operation.(Overrides DirectoryResponse::ResultCode.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: