Version

IsActivityOperationAllowed(ActivityType,ActivityOperation,ResourceCalendar) Method

Indicates whether the specified activity operation for the specified activity type is supported.
Syntax
'Declaration
 
Public Overloads Function IsActivityOperationAllowed( _
   ByVal activityType As ActivityType, _
   ByVal activityOperation As ActivityOperation, _
   ByVal calendar As ResourceCalendar _
) As Boolean
public bool IsActivityOperationAllowed( 
   ActivityType activityType,
   ActivityOperation activityOperation,
   ResourceCalendar calendar
)

Parameters

activityType
Activity type.
activityOperation
Activity operation.
calendar
ResourceCalendar for which to check if the operation can be performed.

Return Value

True if the operation is supported. False otherwise.
Remarks

This method is used by the data manager to determine if the specified operation is supprted for the activities of the specified type for the specified ResourceCalendar. If the operation is not supported, relevant user interface will be disabled or hidden in the schedule controls.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also