SearchResults Class

 

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

Contains the results from the SearchRequest message.

For the Web API the corresponding type is SearchResults ComplexType.

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

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.Messages.SearchResults

Syntax

[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class SearchResults : IExtensibleDataObject
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class SearchResults
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod SearchResults()

Initializes a new instance of the SearchResults class.

System_CAPS_pubmethod SearchResults(AppointmentProposal[], TraceInfo)

Initializes a new instance of the SearchResults class setting the proposals and trace info properties.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty Proposals

Gets the set of proposed appointments that meet the appointment request criteria.

System_CAPS_pubproperty TraceInfo

Gets information regarding 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

SearchResults
Microsoft.Crm.Sdk.Messages Namespace
Sample: Search for openings to schedule a resource

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright