Поделиться через


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

 

Applies To: Dynamics CRM 2015

Converts the calendar rules to an array of available time blocks for the specified period. (Developer Extensions)

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

Syntax

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

Parameters

Return Value

Type: TResult

Returns Guid.

Type Parameters

  • TResult

Remarks

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