CalendarRuleExtentCode Class

 

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)

System.Object
  Microsoft.Crm.Sdk.CalendarRuleExtentCode

public static class CalendarRuleExtentCode

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticSubtractRecurrenceIntervals

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_staticSubtractResults

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_staticTransparent

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

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: