CalendarRuleExtentCode Class

 

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

Contains integer flags that are used for the CalendarRule.ExtentCode attribute.

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

Inheritance Hierarchy

System.Object
  Microsoft.Crm.Sdk.CalendarRuleExtentCode

Syntax

public static class CalendarRuleExtentCode
Public NotInheritable Class CalendarRuleExtentCode

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static SubtractRecurrenceIntervals

The recurrence duration determines the shadowing of that rule. Use this value to indicate working hours and a full day 24-hour shadow. Value = 1.

System_CAPS_pubfieldSystem_CAPS_static SubtractResults

Only the rule duration is shadowed. Use this value to indicate time off. For example, 4 hours of time off allow working hours to appear before and after. Value = 2.

System_CAPS_pubfieldSystem_CAPS_static Transparent

No shadowing of calendar rules. All rules are displayed even if they are shadowed or preceded by other rules. Value = 0.

Remarks

The ExtentCode attribute defines how calendar rule overlap is handled during calendar rule expansion.

The following table shows the values for this class.

Member

Value

Description

SubtractRecurrenceIntervals

1

The recurrence duration determines the shadowing of that rule. Use this value to indicate working hours and a full day 24-hour shadow.

SubtractResults

2

Specifies that only the rule duration is shadowed. Use this value to indicate time off. For example, 4 hours of time off allow working hours to appear before and after.

Transparent

0

Specifies no shadowing of calendar rules. All rules are displayed even if they are shadowed or preceded by other rules.

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

Microsoft.Crm.Sdk Namespace
CalendarRule entity messages and methods

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright