Jaa


OrganizationServiceContextExtensions.QueryMultipleSchedules(Of TResult) Method (OrganizationServiceContext, Guid(), DateTime, DateTime, Object)

Applies To: Dynamics CRM 2015

Searches multiple resources for an available time slot matching the specified parameters. This is similar to the QuerySchedule<TResult> method but it works for multiple resources at one time. (Developer Extensions)

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

Syntax

public static TResult QueryMultipleSchedules<TResult>(
    this OrganizationServiceContext context,
    Guid[] resourceIds,
    DateTime start,
    DateTime end,
    object timeCodes
)
public:
generic<typename TResult>
[ExtensionAttribute]
static TResult QueryMultipleSchedules(
    OrganizationServiceContext^ context,
    array<Guid>^ resourceIds,
    DateTime start,
    DateTime end,
    Object^ timeCodes
)
static member QueryMultipleSchedules<'TResult> : 
        context:OrganizationServiceContext *
        resourceIds:Guid[] *
        start:DateTime *
        end:DateTime *
        timeCodes:Object -> 'TResult
<ExtensionAttribute>
Public Shared Function QueryMultipleSchedules(Of TResult) (
    context As OrganizationServiceContext,
    resourceIds As Guid(),
    start As Date,
    end As Date,
    timeCodes As Object
) As TResult

Parameters

Return Value

Type: TResult

Returns String.

Type Parameters

  • TResult

Remarks

This is a method wrapper for the QueryMultipleSchedulesRequest and QueryMultipleSchedulesResponse 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