SearchResponse Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains the response from the SearchRequest class.

For the Web API the SearchResponse ComplexType is the response value from the Search Function.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.OrganizationResponse
    Microsoft.Crm.Sdk.Messages.SearchResponse

Syntax

[DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class SearchResponse : OrganizationResponse
<DataContractAttribute(Namespace := "http://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class SearchResponse
    Inherits OrganizationResponse

Constructors

Name Description
System_CAPS_pubmethod SearchResponse()

Initializes a new instance of the SearchResponse class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from OrganizationResponse.)

System_CAPS_pubproperty Item[String]

Gets an indexer for the Results collection.(Inherited from OrganizationResponse.)

System_CAPS_pubproperty ResponseName

Gets or sets the name of the response.(Inherited from OrganizationResponse.)

System_CAPS_pubproperty Results

Gets the results of the request that was performed.(Inherited from OrganizationResponse.)

System_CAPS_pubproperty SearchResults

Gets the results of the search.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

SearchRequest
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright