Click or drag to resize

CalendarRule Class

Defines free/busy times for a service and for resources or resource groups, such as working, non-working, vacation, and blocked.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceCalendarRule

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CalendarRule : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The CalendarRule type exposes the following members.

Constructors
 NameDescription
Public methodCalendarRule Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertyBusinessUnitId Unique identifier of the business unit with which the calendar rule is associated.
Public propertycalendar_calendar_rules N:1 calendar_calendar_rules
Public propertyCalendarId Unique identifier of the calendar with which the calendar rule is associated.
Public propertyCalendarRuleId Unique identifier of the calendar rule.
Public propertyCreatedBy Unique identifier of the user who created the calendar rule.
Public propertyCreatedOn Date and time when the calendar rule was created.
Public propertyCreatedOnBehalfBy Unique identifier of the delegate user who created the calendarrule.
Public propertyDescription Defines free/busy times for a service and for resources or resource groups, such as working, non-working, vacation, and blocked.
Public propertyDuration Duration of the calendar rule in minutes.
Public propertyEffectiveIntervalEnd Effective interval end of the calendar rule.
Public propertyEffectiveIntervalStart Effective interval start of the calendar rule.
Public propertyEffort Effort available for a resource during the time described by the calendar rule.
Public propertyEndTime For internal use only.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyExtentCode Extent of the calendar rule.
Public propertyFormattedValues
(Inherited from Entity)
Public propertyGroupDesignator Unique identifier of the group.
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyinner_calendar_calendar_rules N:1 inner_calendar_calendar_rules
Public propertyInnerCalendarId Unique identifier of the inner calendar for non-leaf calendar rules.
Public propertyIsModified For internal use only.
Public propertyIsSelected Flag used in vary-by-day calendar rules.
Public propertyIsSimple Flag used in vary-by-day calendar rules.
Public propertyIsVaried Flag used in leaf nonrecurring rules.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_calendarrule_createdby N:1 lk_calendarrule_createdby
Public propertylk_calendarrule_createdonbehalfby N:1 lk_calendarrule_createdonbehalfby
Public propertylk_calendarrule_modifiedby N:1 lk_calendarrule_modifiedby
Public propertylk_calendarrule_modifiedonbehalfby N:1 lk_calendarrule_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Unique identifier of the user who last modified the calendar rule.
Public propertyModifiedOn Date and time when the calendar rule was last modified.
Public propertyModifiedOnBehalfBy Unique identifier of the delegate user who last modified the calendarrule.
Public propertyName Name of the calendar rule.
Public propertyOffset Start offset for leaf nonrecurring rules.
Public propertyOrganizationId Unique identifier of the organization with which the calendar rule is associated.
Public propertyPattern Pattern of the rule recurrence.
Public propertyRank Rank of the calendar rule.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertyservice_calendar_rules N:1 service_calendar_rules
Public propertyServiceId Unique identifier of the service with which the calendar rule is associated.
Public propertyStartTime Start time for the rule.
Public propertySubCode Sub-type of calendar rule.
Public propertyTimeCode Type of calendar rule such as working hours, break, holiday, or time off.
Public propertyTimeZoneCode Local time zone for the calendar rule.
Public propertyuserentityinstancedata_calendarrule 1:N userentityinstancedata_calendarrule
Public propertyVersionNumber 
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also