OrganizationServiceContextExtensions.QuerySchedule<TResult> Method (OrganizationServiceContext, Guid, DateTime, DateTime, Object)


Applies To: Dynamics CRM 2015

Searches the specified resource for an available time slot matching the specified parameters. (Developer Extensions)

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


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


Return Value

Type: TResult

Returns String.

Type Parameters

  • TResult


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