Partager via


OrganizationServiceContextExtensions.Search<TResult> Method (OrganizationServiceContext, Object)

 

Applies To: Dynamics CRM 2015

Searches for available time slots that fulfill the specified appointment request. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static TResult Search<TResult>(
    this OrganizationServiceContext context,
    object appointmentRequest
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult Search(
    OrganizationServiceContext^ context,
    Object^ appointmentRequest
)
static member Search<'TResult> : 
        context:OrganizationServiceContext *
        appointmentRequest:Object -> 'TResult
<ExtensionAttribute>
Public Shared Function Search(Of TResult) (
    context As OrganizationServiceContext,
    appointmentRequest As Object
) As TResult

Parameters

Return Value

Type: TResult

Returns EntityCollection.

Type Parameters

  • TResult

Remarks

This is a method wrapper for the SearchRequest and SearchResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright