This documentation is archived and is not being maintained.

calendarrule Class (CrmService)

Dynamics
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents the definition of free and busy times for a service and for resources or resource groups (for example, working, non-working, vacation, and blocked).

For a list of methods and messages that operate on this class, see Calendar Rule Entity Capabilities.

The calendarrule class inherits from BusinessEntity. It exposes the following members.

ConstructorDescription
calendarruleInitializes a new instance of the calendarrule class.

PropertyDescription
businessunitidGets the ID of the business unit with which the calendar rule is associated.
calendaridGets or sets the ID of the calendar with which the calendar rule is associated.
calendarruleidGets or sets the ID of the calendar rule.
createdbyGets the ID of the user who created the calendar rule.
createdonGets the date and time when the calendar rule was created.
createdonbehalfbyGets the ID of the proxy user who created the calendar rule record.
descriptionGets or sets the free and busy times for a service and for resources or resource groups, such as working, non-working, vacation, and blocked.
durationGets or sets the duration of the calendar rule in minutes.
effectiveintervalendGets or sets the effective interval end of the calendar rule.
effectiveintervalstartGets or sets the effective interval start of the calendar rule.
effortGets or sets the effort available for a resource during the time described by the calendar rule.
endtimeFor internal use only.
extentcodeGets or sets the extent of the calendar rule.
groupdesignatorGets or sets the ID of the group.
innercalendaridGets the ID of the inner calendar for non-leaf calendar rules.
ismodifiedFor internal use only.
isselectedGets or sets the flag used in vary-by-day calendar rules.
issimpleGets or sets the flag used in vary-by-day calendar rules.
isvariedGets or sets the flag used in leaf nonrecurring rules.
modifiedbyGets the ID of the user who last modified the calendar rule.
modifiedonGets the date and time when the calendar rule was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the calendar rule.
nameGets or sets the name of the calendar rule.
offsetGets or sets the start offset for leaf nonrecurring rules.
organizationidGets the ID of the organization with which the calendar rule is associated.
patternGets or sets the pattern of the rule recurrence.
rankGets or sets the rank of the calendar rule.
serviceidGets or sets the ID of the service with which the calendar rule is associated.
starttimeGets or sets the start time for the rule.
subcodeGets or sets the subtype of calendar rule.
timecodeGets or sets the type of calendar rule such as working hours, break, holiday, or time off.
timezonecodeGets or sets the local time zone for the calendar rule.

Remarks

This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. Change the view to see non-customizable entities.

If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.

This entity is not customizable.

Requirements

Web Service: CrmService

See Also

Concepts

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: