ExtentCode Class (CrmHelpers)
[Applies to: Microsoft Dynamics CRM 4.0]
This class contains integer flags to set the calendarrule.extentcode property. Although the property may accept any value, these are the valid values.
This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.
The ExtentCode class exposes the following members.
|SubtractRecurrenceIntervals||1||Specifies that the recurrence duration determines the shadowing of that rule. This is used for working hours and a full day 24 hours shadow.|
|SubtractResults||2||Specifies that only the rule duration will be shadowed. This is used in the case of time off. For example, 4 hours time off will allow working hours to appear before and after.|
|Transparent||0||Specifies no shadowing of calendar rules. All rules will show up even if they are shadowed or preceded by other rules.|
The extentcode field defines how calendar rule overlap is handled during calendar rule expansion.
This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.
© 2010 Microsoft Corporation. All rights reserved.